From 51698ad98fed2ffee3b9ccb88ab3f43aeb2140b9 Mon Sep 17 00:00:00 2001 From: kink Date: Sat, 21 May 2005 15:15:07 +0000 Subject: [PATCH] Fix typo "." instead of ";". selopts[-1] was concatenated with the string. Initialize the array selopts. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9432 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/addrbook_search.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/addrbook_search.php b/src/addrbook_search.php index a1c0b7be..05777b89 100644 --- a/src/addrbook_search.php +++ b/src/addrbook_search.php @@ -221,8 +221,9 @@ if ($show == 'form' && empty($listall)) { /* List all backends to allow the user to choose where to search */ if ($abook->numbackends > 1) { - echo '' . _("in") . ' '."\n". - $selopts['-1'] = _("All address books"); + echo '' . _("in") . ' '."\n"; + $selopts = array(); + $selopts['-1'] = _("All address books"); $ret = $abook->get_backend_list(); while (list($undef,$v) = each($ret)) { @@ -308,4 +309,4 @@ if ($show == 'form' && empty($listall)) { } ?> - \ No newline at end of file + -- 2.25.1