Use the renamed adlist table when getting adlists

This fixes an error shown on the settings page.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
This commit is contained in:
Mcat12
2019-07-04 11:28:01 -07:00
parent 4e1df1664c
commit 86ba703ef5

View File

@@ -174,7 +174,7 @@ function readAdlists()
$db = SQLite3_connect(getGravityDBFilename());
if ($db)
{
$results = $db->query("SELECT * FROM adlists");
$results = $db->query("SELECT * FROM adlist");
while($results !== false && $res = $results->fetchArray(SQLITE3_ASSOC))
{