diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-06-14 22:40:18 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-06-14 23:05:31 +0200 |
commit | 27ab6daeb00770039911c2e135fb24804ed2d31b (patch) | |
tree | 7a501f627df3452d55acb76518d58ab49a0a41c2 /apps/contacts/lib | |
parent | f3b30e4658c4dde82b56b458c672fa5edcba5d6b (diff) | |
download | nextcloud-server-27ab6daeb00770039911c2e135fb24804ed2d31b.tar.gz nextcloud-server-27ab6daeb00770039911c2e135fb24804ed2d31b.zip |
If Hr. Lerdorf had made up his mind on parameter order, life would have been a lot easier...
Diffstat (limited to 'apps/contacts/lib')
-rw-r--r-- | apps/contacts/lib/hooks.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/lib/hooks.php b/apps/contacts/lib/hooks.php index e3d5df3d51f..e74b465a47b 100644 --- a/apps/contacts/lib/hooks.php +++ b/apps/contacts/lib/hooks.php @@ -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); |