Solved: Opencart version 2200 have Parse syntax error
Posted: Tue Apr 19, 2016 2:10 pm
Parse error: syntax error, unexpected '&&' (T_BOOLEAN_AND), expecting ')' in D:\wamp\www\vipul\oc2200\admin\controller\customer\customer.php on line 1105
Using following code to replace else if part - line:1105
Using following code to replace else if part - line:1105
Code: Select all
elseif (($custom_field['type'] == 'text' && !empty($custom_field['validation']) && $custom_field['location'] == 'address') && !filter_var($value['custom_field'][$custom_field['custom_field_id']], FILTER_VALIDATE_REGEXP, array('options' => array('regexp' => $custom_field['validation'])))) {