diff options
author | Friendika <info@friendika.com> | 2011-03-16 22:27:34 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-03-16 22:27:34 -0700 |
commit | b3050d3bc8fc812f0579982e1c866ab07499e0a8 (patch) | |
tree | e0420d3ed938a19253a40bbc3cde0e0e92d1bd2f /boot.php | |
parent | 47f0abf27e2aa0f5443badd2a43617b922662bba (diff) | |
download | volse-hubzilla-b3050d3bc8fc812f0579982e1c866ab07499e0a8.tar.gz volse-hubzilla-b3050d3bc8fc812f0579982e1c866ab07499e0a8.tar.bz2 volse-hubzilla-b3050d3bc8fc812f0579982e1c866ab07499e0a8.zip |
no birthdays for nonexistent contacts
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2428,6 +2428,8 @@ function get_birthdays() { $o .= '<div id="birthday-title-end"></div>'; 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); |