Changeset 8311

Show
Ignore:
Timestamp:
07/11/08 01:49:06 (4 months ago)
Author:
ryan
Message:

Don't LIMIT updates to 1. Props hailin. fixes #7272

Files:

Legend:

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

    r8168 r8311  
    686686        else 
    687687            return false; 
    688         return $this->query( "UPDATE $table SET " . implode( ', ', $bits ) . ' WHERE ' . implode( ' AND ', $wheres ) . ' LIMIT 1' ); 
     688             
     689        return $this->query( "UPDATE $table SET " . implode( ', ', $bits ) . ' WHERE ' . implode( ' AND ', $wheres ) ); 
    689690    } 
    690691