diff options
Diffstat (limited to 'db.php')
-rw-r--r-- | db.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -61,7 +61,7 @@ function db_query($link, $query, $die_on_error = true) { if (!$result) { $query = htmlspecialchars($query); // just in case if ($die_on_error) { - die("Query <i>$query</i> failed: " . pg_last_error($link)); + die("Query <i>$query</i> failed [$result]: " . pg_last_error($link)); } } return $result; |