]> git.mxchange.org Git - friendica.git/blobdiff - include/datetime.php
Merge remote-tracking branch 'upstream/develop' into develop
[friendica.git] / include / datetime.php
index 16b134e90b13d8525fdfd3535f3694bb451ade2e..e88c274ab967449649311a592171af1f7be4a9a8 100644 (file)
@@ -552,7 +552,7 @@ function update_contact_birthdays() {
        // In-network birthdays are handled within local_delivery
 
        $r = q("SELECT * FROM contact WHERE `bd` != '' AND `bd` != '0000-00-00' AND SUBSTRING(`bd`,1,4) != `bdyear` ");
-       if(count($r)) {
+       if (dbm::is_result($r)) {
                foreach($r as $rr) {
 
                        logger('update_contact_birthday: ' . $rr['bd']);