|
@@ -1,4 +1,4 @@ discard block |
|
|
block discarded – undo |
|
1
|
|
-<?php declare(strict_types=1); defined('BASEPATH') OR exit('No direct script access allowed'); |
|
|
1
|
+<?php declare(strict_types=1); defined('BASEPATH') or exit('No direct script access allowed'); |
|
2
|
2
|
|
|
3
|
3
|
const TITLEDATA_COLUMNS = ['title', 'latest_chapter', 'status', 'followed', 'mal_id', 'last_updated']; |
|
4
|
4
|
|
|
@@ -156,7 +156,7 @@ discard block |
|
|
block discarded – undo |
|
156
|
156
|
//FIXME: The <preferable> solution here is we'd just check against the last_updated time, but that can have a few issues. |
|
157
|
157
|
$this->History->updateTitleHistory($titleID, $oldData['current_chapter'], $newData['latest_chapter'] ?? NULL, date('Y-m-d H:i:s')); |
|
158
|
158
|
} else { |
|
159
|
|
- log_message('error', "ID {$titleID} is attempting to access an invalid column?"); |
|
|
159
|
+ log_message('error', "id {$titleID} is attempting to access an invalid column?"); |
|
160
|
160
|
} |
|
161
|
161
|
|
|
162
|
162
|
return (bool) $success; |
Please login to merge, or discard this patch.