diff --git a/python/sql.py b/python/sql.py index a2bb484..73c67ad 100644 --- a/python/sql.py +++ b/python/sql.py @@ -271,7 +271,7 @@ def addWork( commands.extend( ( ( - "INSERT INTO series_meta(ID) VALUES (?) ON CONFLICT DO NOTHING", + "INSERT INTO series_meta(id) VALUES (?) ON CONFLICT DO NOTHING", (series[0],), ), ( diff --git a/webui/files/.aomoCommon.php b/webui/files/.aomoCommon.php index eb7e8ee..fe0d282 100644 --- a/webui/files/.aomoCommon.php +++ b/webui/files/.aomoCommon.php @@ -119,7 +119,7 @@ function linkToWork($id, $title) { } function linkToSeries($id) { - $seriesTitle = sqlFetch(array("SELECT title FROM series_meta WHERE ID=$id"))[0][0]['title']; + $seriesTitle = sqlFetch(array("SELECT title FROM series_meta WHERE id = $id"))[0][0]['title']; if (!$seriesTitle) { $seriesTitle = "Series $id"; } diff --git a/webui/files/work.php b/webui/files/work.php index e60f3ae..dd94bee 100644 --- a/webui/files/work.php +++ b/webui/files/work.php @@ -186,7 +186,7 @@ function getTagsBlurb($rowWorks) { } else { $outStr .= "Updated"; } - $outStr .= ":