* Db/Database.php - Database::updates(): Require array for $updates
/trunk/Db/Database.php |
---|
613,13 → 613,13 |
* |
* @param string|array $tables |
* Table name |
* @param array $values |
* @param array $updates |
* Associative array of column-value pairs |
* @param array|string $where |
* Only the records matching this condition are updated |
* @return bool |
*/ |
public function update($tables, $updates, $where = null) |
public function update($tables, array $updates, $where = null) |
{ |
if (!$tables) |
{ |