6.0.0-beta1
9/1/25

[#2929] Reminders doesn't work because of call to implode function with string argument
Summary Reminders doesn't work because of call to implode function with string argument
Queue Kronolith
Queue Version 2.0.4
Type Bug
State Not A Bug
Priority 3. High
Owners
Requester peter (at) md (dot) kth (dot) se
Created 11/06/2005 (7239 days ago)
Due
Updated 11/06/2005 (7239 days ago)
Assigned
Resolved 11/06/2005 (7239 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/06/2005 10:30:23 PM Chuck Hagenbuch Comment #2
State ⇒ Not A Bug
Reply to this comment
Duplicate of bug 2808.
11/06/2005 06:27:53 PM peter (at) md (dot) kth (dot) se Comment #1
State ⇒ Unconfirmed
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ Reminders doesn't work because of call to implode function with string argument
Queue ⇒ Kronolith
Reply to this comment
Reminders doesn't work for me. Found a call to implode where the 
argument is a string (not an array) in the file 
kronolith-h3-2.0.4/lib/Scheduler/kronolith.php. Seems like PHP 4.4.1 
doesn't like that.



The fix for me was:



209,211c209,211

<                 Horde::logMessage(sprintf('Sending reminder for %s 
to %s', $event->title, implode(', ', $tf_recipients)), __FILE__, 
__LINE__, PEAR_LOG_DEBUG);

<                 $sent = $mime->send(implode(', ', $tf_recipients), 
$msg_headers, $mail_driver, $mail_params);

<                 if (is_a($sent, 'PEAR_Error')) {

---
                           Horde::logMessage(sprintf('Sending 
reminder for %s to %s', $event->title, $tf_recipients), __FILE__, 
__LINE__, PEAR_LOG_DEBUG);
                 $sent = $mime->send($tf_recipients, $msg_headers, 
$mail_driver, $mail_params);
                                        if (is_a($sent, 'PEAR_Error')) {
And then everything works.



Hope this helps!



Best regards,



Peter

Saved Queries