aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-03-16 22:27:34 -0700
committerFriendika <info@friendika.com>2011-03-16 22:27:34 -0700
commitb3050d3bc8fc812f0579982e1c866ab07499e0a8 (patch)
treee0420d3ed938a19253a40bbc3cde0e0e92d1bd2f
parent47f0abf27e2aa0f5443badd2a43617b922662bba (diff)
downloadvolse-hubzilla-b3050d3bc8fc812f0579982e1c866ab07499e0a8.tar.gz
volse-hubzilla-b3050d3bc8fc812f0579982e1c866ab07499e0a8.tar.bz2
volse-hubzilla-b3050d3bc8fc812f0579982e1c866ab07499e0a8.zip
no birthdays for nonexistent contacts
-rw-r--r--boot.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index 08caa72ab..d02ecd344 100644
--- a/boot.php
+++ b/boot.php
@@ -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);