Skip to content

Commit

Permalink
Fix. FW update. Check if AC table exists before truncate #2.
Browse files Browse the repository at this point in the history
  • Loading branch information
Glomberg committed Nov 13, 2023
1 parent af5d569 commit 9fb8621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/AntiCrawler.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public static function directUpdate($useragents)

private static function clearDataTable($db, $db__table__data)
{
if ( ! $db->isTableExists() ) {
if ( ! $db->isTableExists($db__table__data) ) {
// @ToDo need to handle errors here
return;
}
Expand Down

0 comments on commit 9fb8621

Please sign in to comment.