fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [13310]


From: Nelson Guerra
Subject: [Fmsystem-commits] [13310]
Date: Thu, 28 May 2015 21:09:15 +0000

Revision: 13310
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13310
Author:   nelson224
Date:     2015-05-28 21:09:14 +0000 (Thu, 28 May 2015)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind/property/inc/class.uientity.inc.php

Modified: branches/dev-syncromind/property/inc/class.uientity.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.uientity.inc.php 2015-05-28 
21:08:32 UTC (rev 13309)
+++ branches/dev-syncromind/property/inc/class.uientity.inc.php 2015-05-28 
21:09:14 UTC (rev 13310)
@@ -1699,7 +1699,14 @@
                                );
 
                        $tabs = array();
+                       $active_tab = phpgw::get_var('active_tab');
 
+                       if($category['location_level'])
+                       {
+                               $tabs['location']       = array('label' => 
lang('location'), 'link' => '#location', 'disable' => 0);
+                               $active_tab = $active_tab ? $active_tab : 
'location';
+                       }
+                               
                        if (isset($values['attributes']) && 
is_array($values['attributes']))
                        {
                                foreach ($values['attributes'] as & $attribute)
@@ -1729,14 +1736,6 @@
                                                $attribute['hide_row'] = true;
                                        }
                                }
-               
-                               $active_tab = phpgw::get_var('active_tab');
-                               
-                               if($category['location_level'])
-                               {
-                                       $tabs['location']       = array('label' 
=> lang('location'), 'link' => '#location', 'disable' => 0);
-                                       $active_tab = $active_tab ? $active_tab 
: 'location';
-                               }
 
                                $_enable_controller = 
!!$category['enable_controller'];
                                if($_enable_controller && $id)




reply via email to

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