WordPress.org

Make WordPress Core

Changeset 5860


Ignore:
Timestamp:
08/10/07 18:08:04 (7 years ago)
Author:
markjaquith
Message:

Prevent get_col() from returning an array of NULLs. see #4725

File:
1 edited

Legend:

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

    r5858 r5860  
    261261        if ( $query ) 
    262262            $this->query($query); 
    263         else 
    264             return null; 
    265263 
    266264        // Extract var out of cached results based x,y vals 
Note: See TracChangeset for help on using the changeset viewer.