mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-20 20:13:40 +03:00
Missing global
This commit is contained in:
parent
f2377913f0
commit
e9b6a49e5a
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ function init_db() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function open_db() {
|
function open_db() {
|
||||||
global $authdb, $db;
|
global $authdb, $db, $db_version;
|
||||||
|
|
||||||
if (!isset($db)) {
|
if (!isset($db)) {
|
||||||
$db = new SQLite3($authdb, SQLITE3_OPEN_READWRITE);
|
$db = new SQLite3($authdb, SQLITE3_OPEN_READWRITE);
|
||||||
|
|
Loading…
Add table
Reference in a new issue