WordPress.org

Make WordPress Core

Changeset 4208


Ignore:
Timestamp:
09/22/06 14:40:40 (8 years ago)
Author:
ryan
Message:

Check if array index is set. Props Alex King. fixes #3156

File:
1 edited

Legend:

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

    r4193 r4208  
    214214        if ( $query ) 
    215215            $this->query($query); 
     216         
     217        if ( !isset($this->last_result[$y]) ) 
     218            return null; 
    216219 
    217220        if ( $output == OBJECT ) { 
Note: See TracChangeset for help on using the changeset viewer.