From 9dc9584fffc09c4fce0aadf1a0fdfd6fe8e4bc07 Mon Sep 17 00:00:00 2001 From: Mitan Omar Date: Sat, 6 Jul 2019 01:14:53 +0200 Subject: [PATCH] fix sqlite version in admin page --- includes/sqlite.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/sqlite.php b/includes/sqlite.php index d9d9284..4fb630b 100755 --- a/includes/sqlite.php +++ b/includes/sqlite.php @@ -128,7 +128,7 @@ class KleejaDatabase public function version() { - return SQLite3::version(); + return SQLite3::version()['versionString']; } /** @@ -475,7 +475,7 @@ class KleejaDatabase } list($error_no, $error_msg) = $this->get_error(); - $error_sql = @current($this->debugr[$this->query_num+1]); + $error_sql = @current($this->debugr[$this->query_num+1]); //some ppl want hide their table names if (! defined('DEV_STAGE'))