Permalink
Browse files

NOBUG: Fixed incorrect text comparison breaking mssql/oracle upgrade

  • Loading branch information...
1 parent 3dafa79 commit a914552779ee3650a857c46cfcd74a6949cf082a @stronk7 stronk7 committed Mar 22, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/db/upgrade.php
View
@@ -3189,7 +3189,7 @@ function xmldb_main_upgrade($oldversion=0) {
// As part of security changes password policy will now be enabled by default.
// If it has not already been enabled then we will enable it... Admins will still
// be able to switch it off after this upgrade
- if (record_exists('config', 'name', 'passwordpolicy', 'value', 0)) {
+ if (record_exists('config', 'name', 'passwordpolicy', sql_compare_text('value'), 0)) {
unset_config('passwordpolicy');
}

0 comments on commit a914552

Please sign in to comment.