Skip to content

Commit

Permalink
Edited MysqliDb.php via GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor committed Apr 22, 2011
1 parent b187a1c commit f7d90d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MysqliDb.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public function insert($tableName, $insertData)
$this->reset();

//we can only return true or false
return $stmt->affected_rows;
return (bool) ($stmt->affected_rows);
}

/**
Expand Down

0 comments on commit f7d90d1

Please sign in to comment.