fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [12686] categories


From: Sigurd Nes
Subject: [Fmsystem-commits] [12686] categories
Date: Mon, 02 Feb 2015 14:25:08 +0000

Revision: 12686
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12686
Author:   sigurdne
Date:     2015-02-02 14:25:08 +0000 (Mon, 02 Feb 2015)
Log Message:
-----------
categories

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

Modified: trunk/property/inc/class.uiproject.inc.php
===================================================================
--- trunk/property/inc/class.uiproject.inc.php  2015-02-02 12:56:55 UTC (rev 
12685)
+++ trunk/property/inc/class.uiproject.inc.php  2015-02-02 14:25:08 UTC (rev 
12686)
@@ -294,7 +294,7 @@
                                $values_combo_box[2] = array();
                                foreach($_cats as $_cat)
                                {
-                                       if($_cat['level'] == 0 && 
!$_cat['active'] == 2)
+                                       if($_cat['level'] == 0 && 
$_cat['active'] != 2)
                                        {
                                                $values_combo_box[2][] = $_cat;
                                        }

Modified: trunk/property/inc/class.uiworkorder.inc.php
===================================================================
--- trunk/property/inc/class.uiworkorder.inc.php        2015-02-02 12:56:55 UTC 
(rev 12685)
+++ trunk/property/inc/class.uiworkorder.inc.php        2015-02-02 14:25:08 UTC 
(rev 12686)
@@ -288,7 +288,7 @@
                                $values_combo_box[1] = array();
                                foreach($_cats as $_cat)
                                {
-                                       if($_cat['level'] == 0 && 
!$_cat['active'] == 2)
+                                       if($_cat['level'] == 0 && 
$_cat['active'] != 2)
                                        {
                                                $values_combo_box[1][] = $_cat;
                                        }
@@ -2035,7 +2035,7 @@
                        $cat_sub = array();
                        foreach ($_cat_sub as $entry)
                        {
-                               if($entry['active'] == 2 && !$entry['id'] == 
$selected_cat)//hidden
+                               if($entry['active'] == 2 && $entry['id'] != 
$selected_cat)//hidden
                                {
                                        continue;
                                }




reply via email to

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