Make WordPress Core


Ignore:
Timestamp:
02/22/2008 05:43:56 PM (18 years ago)
Author:
ryan
Message:

Notice fixes from nbachiyski. fixes #5961

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r6817 r6983  
    376376    // expected_slashed ($name)
    377377    $option = $wpdb->get_row( "SELECT option_id, autoload FROM $wpdb->options WHERE option_name = '$name'" );
    378     if ( !$option->option_id )
     378    if ( is_null($option) || !$option->option_id )
    379379        return false;
    380380    // expected_slashed ($name)
Note: See TracChangeset for help on using the changeset viewer.