6.0.0-beta1
7/25/25

[#5378] Undefined index: params
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

History
05/21/2007 01:39:00 PM Jan Schneider State ⇒ Not A Bug
 
05/21/2007 01:35:23 PM agerhard (at) usp (dot) br Comment #3 Reply to this comment
I guess the question is, if you have a quota driver configured, why
don't you have any parameters set for the driver?
The driver we use (courier) don't have any specific parameters,

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
05/20/2007 03:15:55 AM Chuck Hagenbuch Comment #2
State ⇒ Feedback
Reply to this comment
I guess the question is, if you have a quota driver configured, why 
don't you have any parameters set for the driver?
05/19/2007 03:47:05 PM agerhard (at) usp (dot) br Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Undefined index: params
Queue ⇒ IMP
State ⇒ Unconfirmed
Reply to this comment
These warning lines appears repeatedly in the PHP error log file:



[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';

     }

}


Saved Queries