projects
/
photo-tags.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
db1b032
)
fixed closing sqlite3 database
author
Arun Persaud
<arun@nubati.net>
Fri, 25 Nov 2011 04:37:47 +0000
(20:37 -0800)
committer
Arun Persaud
<apersaud@lbl.gov>
Fri, 25 Nov 2011 04:37:47 +0000
(20:37 -0800)
getjson.php
patch
|
blob
|
history
diff --git
a/getjson.php
b/getjson.php
index 6026776775ea5a5278becd77e0289b806b0bfceb..b220544468463127448c8b020ed882970f0e1941 100644
(file)
--- a/
getjson.php
+++ b/
getjson.php
@@
-48,7
+48,7
@@
echo json_encode($row);
if($usePDO)
$DB=null;
else
-
sqlite_close($DB
);
+
$DB->close(
);
?>