Make WordPress Core


Ignore:
Timestamp:
04/28/2004 08:31:41 PM (22 years ago)
Author:
saxmatt
Message:

Gremlins in the options machine.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/upgrade-functions.php

    r1203 r1206  
    732732    if (!get_settings('gmt_offset')) {
    733733        if(!$wpdb->get_var("SELECT * FROM $tableoptions WHERE option_name = 'gmt_offset'")) {
    734             $wpdb->query("INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level) VALUES (94, 'gmt_offset', 8, $gmt_offset, 'The difference in hours between GMT and your timezone', 8)");
     734            $wpdb->query("INSERT INTO $tableoptions (option_name, option_type, option_value, option_description, option_admin_level) VALUES ('gmt_offset', 8, $gmt_offset, 'The difference in hours between GMT and your timezone', 8)");
    735735        }
    736736
Note: See TracChangeset for help on using the changeset viewer.