Skip to content

Commit 2e21351

Browse files
author
kaysen
committed
MOD: class.MySQL.php
1 parent 5ccb521 commit 2e21351

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

class.MySQL.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ public function delete($table, $where='', $limit='', $like=false, $wheretypes=ar
263263

264264
$result = $this->executeSQL($query);
265265

266-
if((int) @mysql_affected_rows($this->databaseLink) == 0){
266+
if($this->affected == 0){
267267
return false;
268268
}
269269

@@ -352,7 +352,7 @@ public function update($table, $set, $where, $exclude = '', $datatypes=array(),
352352

353353
$result = $this->executeSQL($query);
354354

355-
if((int) @mysql_affected_rows($this->databaseLink) == 0){
355+
if($this->affected == 0){
356356
return false;
357357
}
358358

0 commit comments

Comments
 (0)