mirror of
https://github.com/pi-hole/web.git
synced 2026-04-25 03:10:18 +01:00
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:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user