fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [9381] property categories


From: Sigurd Nes
Subject: [Fmsystem-commits] [9381] property categories
Date: Sun, 13 May 2012 15:50:08 +0000

Revision: 9381
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=9381
Author:   sigurdne
Date:     2012-05-13 15:50:08 +0000 (Sun, 13 May 2012)
Log Message:
-----------
property categories

Modified Paths:
--------------
    trunk/property/inc/class.uiworkorder.inc.php

Modified: trunk/property/inc/class.uiworkorder.inc.php
===================================================================
--- trunk/property/inc/class.uiworkorder.inc.php        2012-05-13 15:49:32 UTC 
(rev 9380)
+++ trunk/property/inc/class.uiworkorder.inc.php        2012-05-13 15:50:08 UTC 
(rev 9381)
@@ -1762,10 +1762,19 @@
                                }
                        }
 
-                       $catetory = 
$this->cats->return_single($project['cat_id']);
-//                     $cat_sub = $this->cats->return_sorted_array($start = 
0,$limit = false,$query = '',$sort = '',$order = '',$globals = False, 
$parent_id = $project['cat_id']);
+/*                     
+                       if(isset($project['cat_id']) && $project['cat_id'])
+                       {
+                               $catetory = 
$this->cats->return_single($project['cat_id']);
+                               $cat_sub = 
$this->cats->return_sorted_array($start = 0,$limit = false,$query = '',$sort = 
'',$order = '',$globals = False, $parent_id = $project['cat_id']);
+                               $cat_sub = array_merge($catetory,$cat_sub);
+                       }
+                       else
+                       {
+                               $cat_sub = 
$this->cats->return_sorted_array($start = 0,$limit = false,$query = '',$sort = 
'',$order = '',$globals = False, false);
+                       }
+*/
                        $cat_sub = $this->cats->return_sorted_array($start = 
0,$limit = false,$query = '',$sort = '',$order = '',$globals = False, false);
-                       $cat_sub = array_merge($catetory,$cat_sub);
 
                        $suppresscoordination                   = 
isset($config->config_data['project_suppresscoordination']) && 
$config->config_data['project_suppresscoordination'] ? 1 : '';
                        $user_list = $this->bocommon->get_user_list('select', 
isset($values['user_id']) && $values['user_id'] ? $values['user_id'] : 
$this->account ,false,false,-1,false,false,'',-1);




reply via email to

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