src/controllers/TablesController.php 2 locations
|
@@ 527-532 (lines=6) @@
|
| 524 |
|
|
| 525 |
|
return; |
| 526 |
|
} |
| 527 |
|
if ('' == $fields || !is_numeric($fields) || $fields != (int) $fields || $fields < 1) { |
| 528 |
|
$_REQUEST['stage'] = 1; |
| 529 |
|
$this->doCreate($this->lang['strtableneedscols']); |
| 530 |
|
|
| 531 |
|
return; |
| 532 |
|
} |
| 533 |
|
|
| 534 |
|
$types = $data->getTypes(true, false, true); |
| 535 |
|
$types_for_js = []; |
|
@@ 659-664 (lines=6) @@
|
| 656 |
|
|
| 657 |
|
return; |
| 658 |
|
} |
| 659 |
|
if ('' == $fields || !is_numeric($fields) || $fields != (int) $fields || $fields <= 0) { |
| 660 |
|
$_REQUEST['stage'] = 1; |
| 661 |
|
$this->doCreate($this->lang['strtableneedscols']); |
| 662 |
|
|
| 663 |
|
return; |
| 664 |
|
} |
| 665 |
|
|
| 666 |
|
$status = $data->createTable( |
| 667 |
|
$_REQUEST['name'], |
src/controllers/TypesController.php 2 locations
|
@@ 418-423 (lines=6) @@
|
| 415 |
|
|
| 416 |
|
return; |
| 417 |
|
} |
| 418 |
|
if ('' == $fields || !is_numeric($fields) || $fields != (int) $fields || $fields < 1) { |
| 419 |
|
$_REQUEST['stage'] = 1; |
| 420 |
|
$this->doCreateComposite($this->lang['strtypeneedscols']); |
| 421 |
|
|
| 422 |
|
return; |
| 423 |
|
} |
| 424 |
|
|
| 425 |
|
$types = $data->getTypes(true, false, true); |
| 426 |
|
|
|
@@ 498-503 (lines=6) @@
|
| 495 |
|
|
| 496 |
|
return; |
| 497 |
|
} |
| 498 |
|
if ('' == $fields || !is_numeric($fields) || $fields != (int) $fields || $fields <= 0) { |
| 499 |
|
$_REQUEST['stage'] = 1; |
| 500 |
|
$this->doCreateComposite($this->lang['strtypeneedscols']); |
| 501 |
|
|
| 502 |
|
return; |
| 503 |
|
} |
| 504 |
|
|
| 505 |
|
$status = $data->createCompositeType( |
| 506 |
|
$_REQUEST['name'], |