Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/HuasoFoundries/phpPgAdmin6.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Figueroa <amenadiel@gmail.com>2018-05-22 15:26:21 +0300
committerFelipe Figueroa <amenadiel@gmail.com>2018-05-22 15:26:21 +0300
commitf0cfb3ec646b14cc754b057c6e29401b80a9e1d2 (patch)
treebf2eb5309434ffb70f360afa916ec9e2b94f448a /src/traits
parentd56cbd7931556e250a4d9cd5c3a513456cf59bbb (diff)
inspecting column dodoes no longer pass the query in the url
Diffstat (limited to 'src/traits')
-rw-r--r--src/traits/ViewTrait.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/traits/ViewTrait.php b/src/traits/ViewTrait.php
index 40ff4ab2..c60ced39 100644
--- a/src/traits/ViewTrait.php
+++ b/src/traits/ViewTrait.php
@@ -267,6 +267,7 @@ trait ViewTrait
*/
public function alterViewName($vwrs, $name)
{
+
$type = 'VIEW';
if ($vwrs->fields['relkind'] === 'm') {
$type = 'MATERIALIZED VIEW';
@@ -328,6 +329,7 @@ trait ViewTrait
*/
public function dropView($viewname, $cascade)
{
+ $vwrs = $this->getView($viewname);
$type = 'VIEW';
if ($vwrs->fields['relkind'] === 'm') {
$type = 'MATERIALIZED VIEW';