[imp] Undefined variable: listList in browse.php on line 236

pascal at linuxorable.net pascal at linuxorable.net
Tue Feb 15 08:29:41 PST 2005


Hi,

I have two addressbooks, a LDAP's one and a MySQL's one.

Each time I do a research in my  MySQL's one (and only with it) I get this
notice:

Notice: Undefined variable: listList in /usr/local/www/horde/turba/browse.php on
line 236

and this line is:

233     /* Create list of lists for Add to. */
234     $addToList = array();
235     if (!empty($cfgSources[$source]['map']['__type'])) {
236         if (is_a($listList, 'PEAR_Error')) {
237             $notification->push($listList, 'horde.error');
238         } else {
239             $listList = $driver->search(array('__type' => 'Group'));
240             $listList->reset();
241             while ($listObject = $listList->next()) {
242                 $addToList[] = array('name' =>
$listObject->getValue('name'), 'key' => $listObject->getValue('__key'));
243             }
244         }
245     }

I specify that results are goods

What the matter ?

Thank you for your help

Pascal -- FRANCE

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the imp mailing list