From 79a6ab58d9a41e154f7fc0a2489143f1b99dd4c8 Mon Sep 17 00:00:00 2001 From: 7t4 Date: Sun, 8 Sep 2024 02:06:29 +0000 Subject: [PATCH] SQL Syntax ERR in hubloc.php --- include/hubloc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/hubloc.php b/include/hubloc.php index bebbd041c..10d845316 100644 --- a/include/hubloc.php +++ b/include/hubloc.php @@ -87,7 +87,7 @@ function prune_hub_reinstalls() { $r = q( - "select site_url from site where site_type = %d && site_url != '%s'", + "select site_url from site where site_type = %d and site_url != '%s'", intval(SITE_TYPE_ZOT), dbesc(z_root()) );