[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [17055] property: fix filter on hidden/inactive categ
From: |
sigurdne |
Subject: |
[Fmsystem-commits] [17055] property: fix filter on hidden/inactive categories |
Date: |
Mon, 11 Sep 2017 05:16:19 -0400 (EDT) |
Revision: 17055
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17055
Author: sigurdne
Date: 2017-09-11 05:16:18 -0400 (Mon, 11 Sep 2017)
Log Message:
-----------
property: fix filter on hidden/inactive 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 2017-09-11 07:30:18 UTC
(rev 17054)
+++ trunk/property/inc/class.uiworkorder.inc.php 2017-09-11 09:16:18 UTC
(rev 17055)
@@ -2358,11 +2358,10 @@
$selected_cat = $values['cat_id'] ? $values['cat_id'] :
$project['cat_id'];
$validatet_category = '';
-
$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;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [17055] property: fix filter on hidden/inactive categories,
sigurdne <=