Browse Source

fixed get sp args

develop
Robin Thoni 8 years ago
parent
commit
3656327f52
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      src/Utils/DataAccess/PgSqlDataAccess.php
  2. 1
    1
      tests/DatabaseTest.php

+ 1
- 1
src/Utils/DataAccess/PgSqlDataAccess.php View File

195
         }
195
         }
196
 
196
 
197
         foreach ($sps as $sp_name => $sp) {
197
         foreach ($sps as $sp_name => $sp) {
198
-            $args = $this->getStoredProceduresArguments($pdo, $sp_name);
198
+            $args = $this->getStoredProceduresArguments($pdo, $sp);
199
             if (is_null($args)) {
199
             if (is_null($args)) {
200
                 return null;
200
                 return null;
201
             }
201
             }

+ 1
- 1
tests/DatabaseTest.php View File

169
 
169
 
170
         $pdo = TestTableDataAccess::getPdo();
170
         $pdo = TestTableDataAccess::getPdo();
171
         $pgsql = new PgSqlDataAccess();
171
         $pgsql = new PgSqlDataAccess();
172
-        var_dump($pgsql->getStoredProcedures($pdo));
172
+        var_dump($pgsql->getStoredProceduresFull($pdo));
173
     }
173
     }
174
 }
174
 }

Loading…
Cancel
Save