From f07e5f17d556012232e32955524236afe050c628 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Mon, 17 May 2010 15:09:11 +0200 Subject: [PATCH] Cast to string explicitly, autocasting happens after evaluation of the method calls. --- kronolith/lib/Kronolith.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.11.0