Skip to content

Commit

Permalink
Fixed issue #6224: resetadminpw.php: SQL-string for postgres incorrect
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Jun 19, 2012
1 parent d399fb7 commit a752a5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/install/resetadminpw.php
Expand Up @@ -32,7 +32,7 @@
case 'odbc_mssql':modify_database("",'UPDATE [prefix_users] set password=\'$defaultpass\' where uid=1;');
echo $modifyoutput; flush();
break;
case 'postgres':modify_database("",'UPDATE prefix_users set \"password\"=\'$defaultpass\' where uid=1;');
case 'postgres':modify_database("",'UPDATE prefix_users set "password"=\'$defaultpass\' where uid=1;');
echo $modifyoutput; flush();
break;
}
Expand Down

0 comments on commit a752a5a

Please sign in to comment.