Kill one more NULL bug.
darkmorford -
e18a8b6ee362
Not Reviewed
Show More
Add another comment
TODOs: 0 unresolved 0 Resolved
COMMENTS: 0 General 0 Inline
@@ -55,8 +55,8 function insertstrip(&$strip) {
55 function updatestrip(&$strip) {
55 function updatestrip(&$strip) {
56 global $dbConnection;
56 global $dbConnection;
57
57
58 $strip->book = ($strip->book === '') ? 'NULL' : (int)$strip->book;
58 $strip->book = ($strip->book === '') ? NULL : (int)$strip->book;
59 $strip->page = ($strip->page === '') ? 'NULL' : (int)$strip->page;
59 $strip->page = ($strip->page === '') ? NULL : (int)$strip->page;
60
60
61 $dbConnection->beginTransaction();
61 $dbConnection->beginTransaction();
62
62
Comments 0
You need to be logged in to leave comments. Login now