Commit ad96b4f7 authored by shimscharf's avatar shimscharf Committed by GitHub

Update MysqliDb.php

parent e5401f5f
......@@ -804,7 +804,7 @@ class MysqliDb
$this->_stmtErrno = $stmt->errno;
$this->reset();
return ($stmt->affected_rows > -1);
return ($stmt->affected_rows > -1); // affected_rows returns 0 if nothing matched where statement, or required updating, -1 if error
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment