Summary | Undefined index: params |
Queue | IMP |
Queue Version | FRAMEWORK_3 |
Type | Bug |
State | Not A Bug |
Priority | 1. Low |
Owners | |
Requester | agerhard (at) usp (dot) br |
Created | 05/19/2007 (6642 days ago) |
Due | |
Updated | 05/21/2007 (6640 days ago) |
Assigned | 05/20/2007 (6641 days ago) |
Resolved | 05/21/2007 (6640 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
don't you have any parameters set for the driver?
so I left it undefined in servers.php:
'quota' => array(
'driver' => 'courier',
),
The correct way is:
'quota' => array(
'driver' => 'courier',
'params' => array(),
),
Thanks for the help.
Andre
State ⇒ Feedback
don't you have any parameters set for the driver?
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Undefined index: params
Queue ⇒ IMP
State ⇒ Unconfirmed
[19-Mai-2007 12:40:09] PHP Notice: Undefined index: params in
/usr/local/www/imp4.1.4/horde/imp/message.php on line 590
[19-Mai-2007 12:40:12] PHP Notice: Undefined index: params in
/usr/local/www/imp4.1.4/horde/imp/mailbox.php on line 425
It seems to be related to the following code in mailbox.php (and also
message.php):
/* Print quota information. */
if (isset($imp['quota']) && is_array($imp['quota'])) {
require_once IMP_BASE . '/lib/Quota.php';
$quotaDriver = &IMP_Quota::singleton($imp['quota']['driver'],
$imp['quota'][
'params']);
if ($quotaDriver !== false) {
$quota = $quotaDriver->getQuota();
require IMP_TEMPLATES . '/quota/quota.inc';
}
}