r21961 - htdocs/branches/beta - Fix l_arg variable declaration.

Cristian Marchi cmarchi at code.gnucash.org
Sun Feb 5 03:25:06 EST 2012


Author: cmarchi
Date: 2012-02-05 03:25:06 -0500 (Sun, 05 Feb 2012)
New Revision: 21961
Trac: http://svn.gnucash.org/trac/changeset/21961

Modified:
   htdocs/branches/beta/docs.phtml
Log:
Fix l_arg variable declaration.

Modified: htdocs/branches/beta/docs.phtml
===================================================================
--- htdocs/branches/beta/docs.phtml	2012-02-05 08:23:19 UTC (rev 21960)
+++ htdocs/branches/beta/docs.phtml	2012-02-05 08:25:06 UTC (rev 21961)
@@ -18,8 +18,8 @@
 print_r($l_arg);
 if (is_null($l_arg)) { $l_arg = $_COOKIE['lang_cookie']; }
 echo $l_arg;
-if ($l_arg[query]) { /* There is a language argument */
-  switch ($l_arg[query]) {
+if ($l_arg) { /* There is a language argument */
+  switch ($l_arg) {
     case "lang=de_DE":
         $langpath = "de_DE";
         break;



More information about the gnucash-changes mailing list