Fix bug where it was impossible to subscribe to any folder through the UI.
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 18 Aug 2004 14:38:08 +0000 (14:38 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 18 Aug 2004 14:38:08 +0000 (14:38 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@7933 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/folders.php

index c35e3268d182dbb88a9b62be54bc9f1400b4faef..cc1fc279b90176b81929929231230dcff095284c 100644 (file)
@@ -310,7 +310,7 @@ if(!$no_list_for_subscribe) {
        . '<tt><select name="mailbox[]" multiple="multiple" size="8">';
 
     for ($q = 0; $q < count($box); $q++) {      
-       echo '         <option value="$box[$q]">'.$box2[$q]."</option>\n";
+       echo '         <option value="' . $box[$q] . '">'.$box2[$q]."</option>\n";
     }      
     echo '</select></tt><br /><br />'
        . '<input type="submit" value="'. _("Subscribe") . "\" />\n"