diff options
author | ffflabs <amenadiel@gmail.com> | 2020-02-26 12:07:01 +0300 |
---|---|---|
committer | ffflabs <amenadiel@gmail.com> | 2020-02-26 12:07:01 +0300 |
commit | 864ebf20dc819f88671f5d487b243c661cb5cbf7 (patch) | |
tree | ef78ed59e176c8495d85cfd89da1d99d51d5e1e7 /src/controllers/ViewpropertiesController.php | |
parent | 1656e5dc22273c51f5a9c9866ee35df276eb507c (diff) |
normalization and validation of composer
Diffstat (limited to 'src/controllers/ViewpropertiesController.php')
-rw-r--r-- | src/controllers/ViewpropertiesController.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/controllers/ViewpropertiesController.php b/src/controllers/ViewpropertiesController.php index 008a36f4..5c303f67 100644 --- a/src/controllers/ViewpropertiesController.php +++ b/src/controllers/ViewpropertiesController.php @@ -1,10 +1,7 @@ <?php -// declare(strict_types=1); - /** - * PHPPgAdmin vv6.0.0-RC8-16-g13de173f - * + * PHPPgAdmin v6.0.0-RC9 */ namespace PHPPgAdmin\Controller; @@ -250,7 +247,7 @@ EOT; } // Alter the view column - list($status, $sql) = $data->alterColumn( + [$status, $sql] = $data->alterColumn( $_REQUEST[$this->subject], $_REQUEST['column'], $_REQUEST['field'], @@ -275,6 +272,7 @@ EOT; } break; + default: echo "<p>{$this->lang['strinvalidparam']}</p>" . \PHP_EOL; } |