fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [7710]


From: Torstein
Subject: [Fmsystem-commits] [7710]
Date: Fri, 23 Sep 2011 06:14:14 +0000

Revision: 7710
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7710
Author:   vator
Date:     2011-09-23 06:14:13 +0000 (Fri, 23 Sep 2011)
Log Message:
-----------


Modified Paths:
--------------
    trunk/controller/inc/class.uicontrol.inc.php

Modified: trunk/controller/inc/class.uicontrol.inc.php
===================================================================
--- trunk/controller/inc/class.uicontrol.inc.php        2011-09-23 06:05:30 UTC 
(rev 7709)
+++ trunk/controller/inc/class.uicontrol.inc.php        2011-09-23 06:14:13 UTC 
(rev 7710)
@@ -40,12 +40,8 @@
                
                public function index()
                {
-                       if( !isset($_POST['save_control']) )
+                       if( isset($_POST['save_control']) )
                        {
-                               $this->view_control();  
-                       }
-                       else if( isset($_POST['save_control']) )
-                       {
                                $this->edit_control();  
                        }
                        else if( isset($_POST['save_control_groups']) )
@@ -56,6 +52,9 @@
                        {
                                $this->edit_control_items();
                        }
+                       else{
+                               $this->view_control();
+                       }
                }
                
                public function view_control(){




reply via email to

[Prev in Thread] Current Thread [Next in Thread]