diff options
-rw-r--r-- | sqlbox/locallib.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlbox/locallib.php b/sqlbox/locallib.php index cf821b2..3916d34 100644 --- a/sqlbox/locallib.php +++ b/sqlbox/locallib.php @@ -41,7 +41,7 @@ defined('MOODLE_INTERNAL') || die(); function db_table_from_query($db, $query) { $table = new html_table; - $result = pg_query($db, $query); + $result = @pg_query($db, $query); if (!$result) error("Query failed: ".pg_last_error($db)); |