Explorar o código

Fix regression user init (#4116)

#fix https://github.com/FreshRSS/FreshRSS/issues/4115
Alexandre Alapetite %!s(int64=4) %!d(string=hai) anos
pai
achega
a19b4534f9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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');
 
 		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.
 		} catch (Exception $e) {
 			$ok = false;