We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5e674a2 + 83aa9d4 commit 88f3997Copy full SHA for 88f3997
Sources/Actions/QuoteFast.php
@@ -80,7 +80,7 @@ public function execute(): void
80
$bq = User::$me->mod_cache['bq'];
81
82
if (isset($_REQUEST['modify']) || $bq != '1=1') {
83
- $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);
84
}
85
86
$row = current(Msg::load((int) $_REQUEST['quote'], $query_customizations));
0 commit comments