Explorar el Código

Fix regression user init (#4116)

#fix https://github.com/FreshRSS/FreshRSS/issues/4115
Alexandre Alapetite hace 4 años
padre
commit
a19b4534f9
Se han modificado 1 ficheros con 1 adiciones y 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;