Author: chabotc
Date: Sat Jun  7 06:46:31 2008
New Revision: 664340

URL: http://svn.apache.org/viewvc?rev=664340&view=rev
Log:
Fixes SHINDIG-316 : Improve variable substitution to be 0.8 compliant

Modified:
    incubator/shindig/trunk/php/src/gadgets/Gadget.php

Modified: incubator/shindig/trunk/php/src/gadgets/Gadget.php
URL: 
http://svn.apache.org/viewvc/incubator/shindig/trunk/php/src/gadgets/Gadget.php?rev=664340&r1=664339&r2=664340&view=diff
==============================================================================
--- incubator/shindig/trunk/php/src/gadgets/Gadget.php (original)
+++ incubator/shindig/trunk/php/src/gadgets/Gadget.php Sat Jun  7 06:46:31 2008
@@ -243,12 +243,12 @@
 
        public function getCategory()
        {
-               return $this->category;
+               return $this->substitutions->substitute($this->category);
        }
 
        public function getCategory2()
        {
-               return $this->category2;
+               return $this->substitutions->substitute($this->category2);
        }
 
        public function getSingleton()


Reply via email to