From 6224ff234123a48e29addd5a43a79fc5810d8984 Mon Sep 17 00:00:00 2001 From: Michael Larabel Date: Fri, 9 Oct 2015 07:43:38 -0500 Subject: [PATCH] pts-core: Fix for commit yesterday --- pts-core/objects/phoromatic/phoromatic_server.php | 2 +- pts-core/phoromatic/public_html/phoromatic.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pts-core/objects/phoromatic/phoromatic_server.php b/pts-core/objects/phoromatic/phoromatic_server.php index 948cdae289..38f43a9625 100644 --- a/pts-core/objects/phoromatic/phoromatic_server.php +++ b/pts-core/objects/phoromatic/phoromatic_server.php @@ -105,7 +105,7 @@ public static function close_database() if(self::$db != null) { self::$db->close(); - unset(self::$db); + self::$db = null; } } public static function prepare_database($read_only = false) diff --git a/pts-core/phoromatic/public_html/phoromatic.php b/pts-core/phoromatic/public_html/phoromatic.php index 4a9e561112..b3f99b367a 100644 --- a/pts-core/phoromatic/public_html/phoromatic.php +++ b/pts-core/phoromatic/public_html/phoromatic.php @@ -277,6 +277,6 @@ echo json_encode($json); } -phoromatic_server::close_database(); +//phoromatic_server::close_database(); ?>