summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2011-11-24 20:37:47 -0800
committerArun Persaud <apersaud@lbl.gov>2011-11-24 20:37:47 -0800
commit43a2a8bb13aee236c444eafafd57d67357f9c234 (patch)
tree098e665ec398edda3421d653c62b154d8f25e489
parentdb1b03220d1d9eced86e6177f6787e59e5fd69a5 (diff)
downloadphoto-tags-43a2a8bb13aee236c444eafafd57d67357f9c234.tar.gz
photo-tags-43a2a8bb13aee236c444eafafd57d67357f9c234.tar.bz2
photo-tags-43a2a8bb13aee236c444eafafd57d67357f9c234.zip
fixed closing sqlite3 database
-rw-r--r--getjson.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/getjson.php b/getjson.php
index 6026776..b220544 100644
--- a/getjson.php
+++ b/getjson.php
@@ -48,7 +48,7 @@ echo json_encode($row);
if($usePDO)
$DB=null;
else
- sqlite_close($DB);
+ $DB->close();
?>