From 1274e20af42c382366a39951f9dff58ded7f2ec1 Mon Sep 17 00:00:00 2001 From: Dmitrii Metelkin Date: Mon, 18 Nov 2024 16:25:44 +1100 Subject: [PATCH] issue #187: fix deprecated string usage --- locallib.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/locallib.php b/locallib.php index 89c5437..2c20257 100644 --- a/locallib.php +++ b/locallib.php @@ -178,11 +178,11 @@ function tool_crawler_sql_oversize_filter($tablealias = null) { $tbl = ''; } - $where = "( ${tbl}filesize > ? - OR ( ${tbl}filesize IS NULL - AND ${tbl}lastcrawled IS NOT NULL + $where = "( {$tbl}filesize > ? + OR ( {$tbl}filesize IS NULL + AND {$tbl}lastcrawled IS NOT NULL ) - OR ${tbl}filesizestatus = ? + OR {$tbl}filesizestatus = ? )"; $bigfilesize = get_config('tool_crawler', 'bigfilesize');