Post by dswtpl » 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

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'])))) {

New member

Posts

Joined
Thu Feb 12, 2015 10:17 pm

Post by Randem » Tue Apr 19, 2016 3:30 pm

Yes, the all knowing google has the solution many times - https://www.google.com/search?q=custome ... encart.com

NEVER take serious; anyone who gives negative impact statements with no ABSOLUTE proof!
OpenCart Helpful Information * Upgrade 1.5 to 2.1 * Upgrade 2.1 to 2.2
"Why do people NEVER have enough time to do it right but ALWAYS enough time to do it over?"
DO NOT EVER GIVE SOMEONE YOU DON"T KNOW ADMIN ACCESS TO ANYTHING!
I am NOT affiliated with OpenCart


User avatar
Active Member

Posts

Joined
Sat Sep 27, 2014 9:17 am
Who is online

Users browsing this forum: No registered users and 55 guests