From: Friendika Date: Thu, 17 Mar 2011 05:27:34 +0000 (-0700) Subject: no birthdays for nonexistent contacts X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b3050d3bc8fc812f0579982e1c866ab07499e0a8;p=friendica.git no birthdays for nonexistent contacts --- diff --git a/boot.php b/boot.php index 08caa72ab9..d02ecd344a 100644 --- a/boot.php +++ b/boot.php @@ -2428,6 +2428,8 @@ function get_birthdays() { $o .= '
'; foreach($r as $rr) { + if(! strlen($rr['name'])) + continue; $now = strtotime('now'); $today = (((strtotime($rr['start'] . ' +00:00') < $now) && (strtotime($rr['finish'] . ' +00:00') > $now)) ? true : false);