Skip to content

Commit e5401f5

Browse files
authored
Update MysqliDb.php
1 parent 04cd1ab commit e5401f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MysqliDb.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ public function delete($tableName, $numRows = null)
804804
$this->_stmtErrno = $stmt->errno;
805805
$this->reset();
806806

807-
return ($stmt->affected_rows > 0);
807+
return ($stmt->affected_rows > -1);
808808
}
809809

810810
/**

0 commit comments

Comments
 (0)