Fix db version logic error. Props miqrogroove. fixes #10994

git-svn-id: http://svn.automattic.com/wordpress/trunk@12232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-11-19 22:53:03 +00:00
parent c831a9e3ef
commit 48b9a9f2bb
1 changed files with 1 additions and 1 deletions

View File

@ -1709,7 +1709,7 @@ function pre_schema_upgrade() {
global $wp_current_db_version, $wp_db_version, $wpdb;
// Upgrade 2.9 development versions
if ( ( $wp_current_db_version > 11557 ) && ( $wp_current_db_version < 12217 ) ) {
if ( ( $wp_current_db_version >= 11557 ) && ( $wp_current_db_version < 12217 ) ) {
// Drop the option_id index. dbDelta() doesn't do the drop.
$wpdb->query("ALTER TABLE $wpdb->options DROP INDEX option_id");