Replace and/AND and or/OR by && and ||

This commit is contained in:
Hypolite Petovan 2017-06-08 21:20:27 -04:00
parent 844de15593
commit 8fa3f2415a
23 changed files with 268 additions and 269 deletions

View file

@ -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;
}