Replace and/AND and or/OR by && and ||
This commit is contained in:
parent
844de15593
commit
8fa3f2415a
23 changed files with 268 additions and 269 deletions
|
@ -57,7 +57,7 @@ function geocoordinates_resolve_item(&$item) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (($data->total_results == 0) OR (count($data->results) == 0)) {
|
||||
if (($data->total_results == 0) || (count($data->results) == 0)) {
|
||||
logger("No results found for coordinates ".$item["coord"], LOGGER_DEBUG);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue