Skip to content

Commit

Permalink
fix cli error
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndr-w committed Aug 4, 2024
1 parent 1e017d2 commit 349bdec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boot.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ static function ($a) {
$addon = rex_addon::get('wildcard');
$page = $addon->getProperty('page');

if (!rex::getConsole()) {
if (rex::isBackend() && !empty($_REQUEST)) {
$_csrf_key = rex_yform_manager_table::get('rex_wildcard')->getCSRFKey();

$token = rex_csrf_token::factory($_csrf_key)->getUrlParams();
Expand Down

0 comments on commit 349bdec

Please sign in to comment.