If Hr. Lerdorf had made up his mind on parameter order, life would have been a lot easier...

remotes/origin/stable45
Thomas Tanghus 2012-06-14 22:40:18 +07:00
parent f3b30e4658
commit 27ab6daeb0
1 changed files with 1 additions and 1 deletions

@ -56,7 +56,7 @@ class OC_Contacts_Hooks{
static public function getBirthdayEvents($parameters) {
$name = $parameters['calendar_id'];
if (strpos('birthday_', $name) != 0) {
if (strpos($name, 'birthday_') != 0) {
return;
}
$info = explode('_', $name);