fixed closing sqlite3 database
authorArun Persaud <arun@nubati.net>
Fri, 25 Nov 2011 04:37:47 +0000 (20:37 -0800)
committerArun Persaud <apersaud@lbl.gov>
Fri, 25 Nov 2011 04:37:47 +0000 (20:37 -0800)
getjson.php

index 6026776775ea5a5278becd77e0289b806b0bfceb..b220544468463127448c8b020ed882970f0e1941 100644 (file)
@@ -48,7 +48,7 @@ echo json_encode($row);
 if($usePDO)
   $DB=null;
 else
-  sqlite_close($DB);
+  $DB->close();
 
 ?>