r21964 - htdocs/branches/beta - Fix the l_arg variable read from cookie.

Cristian Marchi cmarchi at code.gnucash.org
Sun Feb 5 03:39:33 EST 2012


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

Modified:
   htdocs/branches/beta/docs.phtml
Log:
Fix the l_arg variable read from cookie.

Modified: htdocs/branches/beta/docs.phtml
===================================================================
--- htdocs/branches/beta/docs.phtml	2012-02-05 08:36:41 UTC (rev 21963)
+++ htdocs/branches/beta/docs.phtml	2012-02-05 08:39:33 UTC (rev 21964)
@@ -16,7 +16,7 @@
 $l_arg = $l_argarray[query];
 print_r($l_argarray);
 print_r($l_arg);
-if (is_null($l_arg)) { $l_arg = $_COOKIE['lang_cookie']; }
+if (is_null($l_arg)) { $l_arg = "lang="$_COOKIE['lang_cookie']; }
 echo "l_arg=$l_arg";
 if ($l_arg) { /* There is a language argument */
   switch ($l_arg) {



More information about the gnucash-changes mailing list