svn: /web/php/trunk/include/ shared-manual.inc

[email protected] (Hannes Magnusson)
Newsgroups php.webmaster
Message-ID <[email protected]>
bjori                                    Sat, 01 Jan 2011 19:19:34 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=306956

Log:
Fix undefined index

Changed paths:
    U   web/php/trunk/include/shared-manual.inc

Modified: web/php/trunk/include/shared-manual.inc
===================================================================
--- web/php/trunk/include/shared-manual.inc	2011-01-01 19:07:42 UTC (rev 306955)
+++ web/php/trunk/include/shared-manual.inc	2011-01-01 19:19:34 UTC (rev 306956)
@@ -543,7 +543,6 @@
     foreach ($ACTIVE_ONLINE_LANGUAGES as $lang => $name) {
         $links[] = array("$lang/$currentpage", $name, $lang);
     }
-    $links[] = array('help-translate.php', 'Other');

     // Print out the form with all the options
     echo <<< FORM
@@ -555,6 +554,7 @@
         echo "<option value='{$link[0]}' " .($link[2] == $currentlang ? "selected" : ""). ">{$link[1]}</option>\n";
     }
     echo <<< FORM
+        <option value="help-translate.php">Other</option>
         </select>
         <input type="submit"
           value="Go"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.