fix sqlite version in admin page

This commit is contained in:
Mitan Omar
2019-07-06 01:14:53 +02:00
parent 4ab6f5b83d
commit 9dc9584fff

View File

@@ -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'))