Removed backticks

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-02-06 15:58:36 +00:00
parent b170755c3d
commit bf674a0f4d

View file

@ -646,7 +646,7 @@ class SettingsController extends Controller
$affected = Asset::whereNotNull('next_audit_date') $affected = Asset::whereNotNull('next_audit_date')
->whereNull('deleted_at') ->whereNull('deleted_at')
->update( ->update(
['next_audit_date' => DB::raw('DATE_ADD(`next_audit_date`, INTERVAL '.$audit_diff_months.' MONTH)')] ['next_audit_date' => DB::raw('DATE_ADD(next_audit_date, INTERVAL '.$audit_diff_months.' MONTH)')]
); );
\Log::debug($affected .' assets affected by audit interval update'); \Log::debug($affected .' assets affected by audit interval update');