Make WordPress Core


Ignore:
Timestamp:
07/11/2008 01:49:06 AM (18 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.