function flickr_response_has_error in Flickr 5
Same name and namespace in other branches
- 6 flickr.inc \flickr_response_has_error()
- 7 flickr.inc \flickr_response_has_error()
Check if the response from the Flickr api call was an error
Parameters
$response: response to check
Return value
true if the response is an error message
1 call to flickr_response_has_error()
- flickr_request in ./
flickr.inc - Submit a request to Flickr.
File
- ./
flickr.inc, line 513
Code
function flickr_response_has_error($response) {
return !(isset($response['stat']) && $response['stat'] == 'ok');
}