Not Reviewed
Show More
Add another comment
| @@ -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 === '') ? |
|
58 | $strip->book = ($strip->book === '') ? NULL : (int)$strip->book; |
|
|
59 |
$strip->page = ($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
