Calendar: FIx downloading birthday events from sql addressbook
This commit is contained in:
parent
eee719e6d2
commit
09ef4f6b8c
1 changed files with 1 additions and 1 deletions
|
@ -731,7 +731,7 @@ abstract class calendar_driver
|
||||||
|
|
||||||
$rcmail = rcmail::get_instance();
|
$rcmail = rcmail::get_instance();
|
||||||
|
|
||||||
if ($source && $contact_id && ($abook = $rcmail->get_address_book($source))) {
|
if (strlen($source) && $contact_id && ($abook = $rcmail->get_address_book($source))) {
|
||||||
if ($contact = $abook->get_record($contact_id, true)) {
|
if ($contact = $abook->get_record($contact_id, true)) {
|
||||||
return self::parse_contact($contact, $source);
|
return self::parse_contact($contact, $source);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue