Skip to content

Commit

Permalink
Merge pull request #8361 from live627/undef
Browse files Browse the repository at this point in the history
  • Loading branch information
Sesquipedalian authored Dec 17, 2024
2 parents 5e674a2 + 83aa9d4 commit 88f3997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Actions/QuoteFast.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 88f3997

Please sign in to comment.