Browse Source

no birthdays for nonexistent contacts

pull/1/head
Friendika 10 years ago
parent
commit
b3050d3bc8
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      boot.php

+ 2
- 0
boot.php View File

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


Loading…
Cancel
Save