public
Description: Git mirror of the CMS Made Simple 2.0 rewrite
Homepage: http://cmsmadesimple.org
Clone URL: git://github.com/tedkulp/cmsmadesimple-2-0.git
Set $return_id equal to $returnid in DoAction to avoid confusion

Signed-off-by: Ted Kulp <ted@cmsmadesimple.org>


git-svn-id: http://svn.cmsmadesimple.org/svn/cmsmadesimple/trunk@4376 
3d254a34-79dc-0310-9e5f-be208747d8a0
tedkulp (author)
Wed Mar 05 04:29:39 -0800 2008
commit  99afb4ba33a9067f51c43079406d2765e3c1764f
tree    d1ccad13eb64a3592b5d83679997df3e2be0daf8
parent  322b74a55a5207da6195bcff4d712dc1be86b5b9
...
874
875
876
 
 
877
878
879
...
874
875
876
877
878
879
880
881
0
@@ -874,6 +874,8 @@ abstract class CmsModuleBase extends CmsObject
0
    */
0
   public function do_action($name, $id, $params, $returnid='')
0
   {
0
+ $return_id = $returnid; //avoid confusion
0
+
0
     if ($name != '')
0
     {
0
       $filename = cms_join_path($this->get_module_path(), 'action.' . $name . '.php');

Comments

    No one has commented yet.