Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong operators in search method #7

Closed
marcterhorst opened this issue Aug 27, 2012 · 1 comment
Closed

Wrong operators in search method #7

marcterhorst opened this issue Aug 27, 2012 · 1 comment

Comments

@marcterhorst
Copy link

Hi,

thanks for this great class, saved me a lot of work.

Search method contains assignment operators in stead of comparison operators.

if($format='s'){
$responseArray = static::parseResponse($response);
}
else if($format='i'){
return $response['body'];
}
else if($format='l'){
return $response['body'];
}

@dersam
Copy link
Owner

dersam commented Aug 27, 2012

5481bdc

Fixed- thanks for the catch.

@dersam dersam closed this as completed Aug 27, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants