From 43a2a8bb13aee236c444eafafd57d67357f9c234 Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Thu, 24 Nov 2011 20:37:47 -0800 Subject: fixed closing sqlite3 database --- getjson.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); ?> -- cgit v1.2.3-18-g5258