1
0
mirror of https://github.com/mbirth/tcl_update_db.git synced 2024-12-26 04:24:07 +00:00
This commit is contained in:
Markus Birth 2018-06-25 17:24:39 +02:00
parent 22751aa4f7
commit fbd1d562e6

View File

@ -39,7 +39,7 @@ class SQLiteWriter
$result = $stmt->fetchAll(\PDO::FETCH_ASSOC); $result = $stmt->fetchAll(\PDO::FETCH_ASSOC);
$pubFirst = '2099-12-31'; $pubFirst = '2099-12-31';
$pubLast = '1970-01-01'; $pubLast = '1970-01-01';
$note = array('en' => null, 'ja' => null, 'zh' => null); $note = array('en' => null, 'ja' => null, 'ko' => null, 'zh' => null);
if (count($result) > 0) { if (count($result) > 0) {
$pubFirst = $result[0]['published_first']; $pubFirst = $result[0]['published_first'];
$pubLast = $result[0]['published_last']; $pubLast = $result[0]['published_last'];