From 83aa9d4e356b3b8c99b7f7e58f3e814cf37465eb Mon Sep 17 00:00:00 2001 From: John Rayes Date: Mon, 16 Dec 2024 21:59:07 -0700 Subject: [PATCH] quick edit error fix #8358 --- Sources/Actions/QuoteFast.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Actions/QuoteFast.php b/Sources/Actions/QuoteFast.php index bdcf3fdc44..4181054b48 100644 --- a/Sources/Actions/QuoteFast.php +++ b/Sources/Actions/QuoteFast.php @@ -80,7 +80,7 @@ public function execute(): void $bq = User::$me->mod_cache['bq']; if (isset($_REQUEST['modify']) || $bq != '1=1') { - $query_customizations['where'][] = 't.locked = {int:not_locked}' . ($bq == '0=1' ? '' : ' OR m.' . $bq); + $query_customizations['where'][] = 't.locked = {int:not_locked}' . ($bq == '0=1' || $bq == '1=1' ? '' : ' OR m.' . $bq); } $row = current(Msg::load((int) $_REQUEST['quote'], $query_customizations));