Skip to content

Commit 88f3997

Browse files
Merge pull request #8361 from live627/undef
2 parents 5e674a2 + 83aa9d4 commit 88f3997

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Actions/QuoteFast.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function execute(): void
8080
$bq = User::$me->mod_cache['bq'];
8181

8282
if (isset($_REQUEST['modify']) || $bq != '1=1') {
83-
$query_customizations['where'][] = 't.locked = {int:not_locked}' . ($bq == '0=1' ? '' : ' OR m.' . $bq);
83+
$query_customizations['where'][] = 't.locked = {int:not_locked}' . ($bq == '0=1' || $bq == '1=1' ? '' : ' OR m.' . $bq);
8484
}
8585

8686
$row = current(Msg::load((int) $_REQUEST['quote'], $query_customizations));

0 commit comments

Comments
 (0)