summaryrefslogtreecommitdiff
path: root/sqlbox/view.php
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-11-21 12:11:03 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-11-21 12:11:03 +0100
commitac24b67ed58bf62a1140ee6dc7417b6a0a97ecc6 (patch)
tree6668a3fdd27dd3c8e3943f1718cc970c5bb01335 /sqlbox/view.php
parentce4fa77b60ed3aad6dcd09dbd48fd7b119bc1261 (diff)
downloadsqltutor-plugin-ac24b67ed58bf62a1140ee6dc7417b6a0a97ecc6.tar.gz
sqltutor-plugin-ac24b67ed58bf62a1140ee6dc7417b6a0a97ecc6.tar.bz2
sqltutor-plugin-ac24b67ed58bf62a1140ee6dc7417b6a0a97ecc6.zip
sqlbox: Close database connection
Diffstat (limited to 'sqlbox/view.php')
-rw-r--r--sqlbox/view.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/sqlbox/view.php b/sqlbox/view.php
index dd20fb9..316489a 100644
--- a/sqlbox/view.php
+++ b/sqlbox/view.php
@@ -101,6 +101,7 @@ if (isset($data->query)) {
echo "</tr>";
}
echo "</table>";
+ pg_close($db);
}
// Finish the page