Browse Source

Fix regression user init (#4116)

#fix https://github.com/FreshRSS/FreshRSS/issues/4115
Alexandre Alapetite 4 years ago
parent
commit
a19b4534f9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Models/UserDAO.php

+ 1 - 1
app/Models/UserDAO.php

@@ -5,7 +5,7 @@ class FreshRSS_UserDAO extends Minz_ModelPdo {
 		require(APP_PATH . '/SQL/install.sql.' . $this->pdo->dbType() . '.php');
 		require(APP_PATH . '/SQL/install.sql.' . $this->pdo->dbType() . '.php');
 
 
 		try {
 		try {
-			$sql = $GLOBALS['$SQL_CREATE_TABLES'] . $GLOBALS['SQL_CREATE_TABLE_ENTRYTMP'] . $GLOBALS['SQL_CREATE_TABLE_TAGS'];
+			$sql = $GLOBALS['SQL_CREATE_TABLES'] . $GLOBALS['SQL_CREATE_TABLE_ENTRYTMP'] . $GLOBALS['SQL_CREATE_TABLE_TAGS'];
 			$ok = $this->pdo->exec($sql) !== false;	//Note: Only exec() can take multiple statements safely.
 			$ok = $this->pdo->exec($sql) !== false;	//Note: Only exec() can take multiple statements safely.
 		} catch (Exception $e) {
 		} catch (Exception $e) {
 			$ok = false;
 			$ok = false;