|
@@ -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
|
class History_Model extends CI_Model { |
|
4
|
4
|
public function __construct() { |
|
@@ -43,7 +43,7 @@ discard block |
|
|
block discarded – undo |
|
43
|
43
|
foreach($query->result() as $row) { |
|
44
|
44
|
$arrRow = []; |
|
45
|
45
|
|
|
46
|
|
- $arrRow['updated_at'] = $row->updated_at; |
|
|
46
|
+ $arrRow['updated_at'] = $row->updated_at; |
|
47
|
47
|
|
|
48
|
48
|
$newChapterData = $this->Tracker->sites->{$row->site_class}->getChapterData($row->title_url, $row->new_chapter); |
|
49
|
49
|
$arrRow['new_chapter'] = "<a href=\"{$newChapterData['url']}\">{$newChapterData['number']}</a>"; |
Please login to merge, or discard this patch.