From: Jan Schneider Date: Mon, 17 May 2010 13:09:11 +0000 (+0200) Subject: Cast to string explicitly, autocasting happens after evaluation of the method calls. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=f07e5f17d556012232e32955524236afe050c628;p=horde.git Cast to string explicitly, autocasting happens after evaluation of the method calls. --- diff --git a/kronolith/lib/Kronolith.php b/kronolith/lib/Kronolith.php index 1417d44a9..054bba25a 100644 --- a/kronolith/lib/Kronolith.php +++ b/kronolith/lib/Kronolith.php @@ -2099,7 +2099,7 @@ class Kronolith ->add(array('c' => $event->calendar, 'e' => $event->id, 'u' => $email)); - $message .= "\n\n" . sprintf(_("If your email client doesn't support iTip requests you can use one of the following links to accept or decline the event.\n\nTo accept the event:\n%s\n\nTo accept the event tentatively:\n%s\n\nTo decline the event:\n%s\n"), $attend_link->add('a', 'accept'), $attend_link->add('a', 'tentative'), $attend_link->add('a', 'decline')); + $message .= "\n\n" . sprintf(_("If your email client doesn't support iTip requests you can use one of the following links to accept or decline the event.\n\nTo accept the event:\n%s\n\nTo accept the event tentatively:\n%s\n\nTo decline the event:\n%s\n"), (string)$attend_link->add('a', 'accept'), (string)$attend_link->add('a', 'tentative'), (string)$attend_link->add('a', 'decline')); } /* Build the iCalendar data */