Skip to content

Commit

Permalink
Globalize variable to fix review writing
Browse files Browse the repository at this point in the history
  • Loading branch information
ecartz committed Jun 2, 2022
1 parent a0c9ab2 commit 7812d52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/system/versioned/1.0.8.9/reviews.php
Expand Up @@ -21,7 +21,7 @@ public static function verify_not_reviewed() {
if (mysqli_num_rows($reviewed_query) >= 1) {
$GLOBALS['messageStack']->add_session('product_action', sprintf(TEXT_ALREADY_REVIEWED, $GLOBALS['customer']->get('short_name')), 'error');

Href::redirect($Linker->build('product_info.php')->retain_query_except(['action']));
Href::redirect($GLOBALS['Linker']->build('product_info.php')->retain_query_except(['action']));
}
}

Expand Down

0 comments on commit 7812d52

Please sign in to comment.