Lebugg/SimpleAR

Trim on condition operator

Closed this issue · 2 comments

add trim on operator in condition array :

array('countryId', ' != ' , 10),

I won't use trim() but will raise an exception if operator is unknown.

There is no error, when operator is unknown. No test is made on the operator. It must have been a MalformedOptionException.

I've set a clearer message for this exception.