[Chameleon-dev] [Bug 1756] appcontext: problem with addContextParameter

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Thu Jul 26 08:41:38 EDT 2007


http://bugzilla.maptools.org/show_bug.cgi?id=1756





------- Additional Comments From bartvde at osgis.nl  2007-07-26 08:41 -------
This patch fixes the problem:

--- appcontext.php      2007-07-26 15:13:19.000000000 +0200
+++ appcontext.php.new  2007-07-26 15:13:46.000000000 +0200
@@ -500,9 +500,9 @@
                 $bRes = false;
             }
             else
-                array_push($this->aContext, array('param-name' => $szKey,
+                  $this->aContext[strtolower($szKey)] = array('param-name' =>
$szKey,
                                                   'param-value'=> $szValue,
-                                                  'description'=> $szDescription));
+                                                  'description'=> $szDescription);
         }

         $this->logFuncEnd(LOG_ALL, "addContextParameter() done.");




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.


More information about the Chameleon-dev mailing list