Make WordPress Core

Ticket #3156: patch.diff

File patch.diff, 430 bytes (added by alexkingorg, 19 years ago)

patch

  • wp-db.php

     
    213213                $this->func_call = "\$db->get_row(\"$query\",$output,$y)";
    214214                if ( $query )
    215215                        $this->query($query);
     216               
     217                if ( !isset($this->last_result[$y]) )
     218                        return null;
    216219
    217220                if ( $output == OBJECT ) {
    218221                        return $this->last_result[$y] ? $this->last_result[$y] : null;