mirror of
https://github.com/pi-hole/web.git
synced 2025-12-25 05:05:33 +00:00
Reinstall lost database query instruction.
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -166,7 +166,7 @@ function add_to_table($db, $table, $domains, $comment, $wildcardstyle=false, $re
|
||||
return $num;
|
||||
else
|
||||
{
|
||||
$finalcount = intval($countquery);
|
||||
$finalcount = intval($db->querySingle($countquery));
|
||||
$modified = $finalcount - $initialcount;
|
||||
|
||||
// If we add less domains than the user specified, then they wanted to add duplicates
|
||||
|
||||
Reference in New Issue
Block a user