Skip to content

Commit

Permalink
Fixed correct false check output.
Browse files Browse the repository at this point in the history
  • Loading branch information
prodrigestivill committed Jun 2, 2016
1 parent 2a7977f commit 8ae3a5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gravatar_addressbook_backend.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ function search($fields, $value, $mode=0, $select=true, $nocount=false, $require
$urls[] = gravatar_addressbook_backend::_get_api_url($v, $gpapi, $acfg);
}
$p = gravatar_addressbook_backend::_get_contents_apis($urls);
if ($p == false){
if ($p === false){
if (in_array('photo', $req)) continue;
}else{
$record['photo'] = $p;
Expand Down

0 comments on commit 8ae3a5f

Please sign in to comment.