| 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 (7350 days ago) |
| Due | |
| Updated | 11/06/2005 (7350 days ago) |
| Assigned | |
| Resolved | 11/06/2005 (7350 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | No |
State ⇒ Not A Bug
bug 2808.State ⇒ Unconfirmed
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ Reminders doesn't work because of call to implode function with string argument
Queue ⇒ Kronolith
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')) {
---
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')) {
Hope this helps!
Best regards,
Peter