Skip to content
Snippets Groups Projects
Commit 40342ea6 authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

Correctly handle rules that start with a parenthesis (should not be...

Correctly handle rules that start with a parenthesis (should not be interpreted as function, but as operator)
parent b1e0025d
No related branches found
No related tags found
No related merge requests found
......@@ -194,8 +194,8 @@ class ShippingRule_Advanced extends ShippingRule {
$is_condition = false;
$is_assignment = false;
$stack = array (); // 1)
$prev_token_operator = false;
$stack = array (); // 1)/
$prev_token_operator = true;
$function_args = array();
$out_stack = array();
foreach ($atoms as $a) { // 2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment