[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [17418] more on controller
From: |
sigurdne |
Subject: |
[Fmsystem-commits] [17418] more on controller |
Date: |
Sat, 9 Dec 2017 12:45:34 -0500 (EST) |
Revision: 17418
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17418
Author: sigurdne
Date: 2017-12-09 12:45:33 -0500 (Sat, 09 Dec 2017)
Log Message:
-----------
more on controller
Modified Paths:
--------------
trunk/property/inc/class.soentity.inc.php
Modified: trunk/property/inc/class.soentity.inc.php
===================================================================
--- trunk/property/inc/class.soentity.inc.php 2017-12-09 17:44:36 UTC (rev
17417)
+++ trunk/property/inc/class.soentity.inc.php 2017-12-09 17:45:33 UTC (rev
17418)
@@ -867,8 +867,11 @@
if ($check_for_control && !$control_registered)
{
- $filtermethod .= " $where (control_id =
$control_id OR control_id IS NULL)";
- $where = 'AND';
+ if($control_id)
+ {
+ $filtermethod .= " $where (control_id =
$control_id OR control_id IS NULL)";
+ $where = 'AND';
+ }
$sql .= "{$this->left_join} {$join_control}";
$sql_custom_field .= ',count(control_id) AS
has_control';
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [17418] more on controller,
sigurdne <=