mirror of
https://github.com/kleeja-official/kleeja.git
synced 2025-12-16 04:59:42 +01:00
fix sqlite version in admin page
This commit is contained in:
@@ -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'))
|
||||
|
||||
Reference in New Issue
Block a user