fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [15795] property: allow empty values on status


From: sigurdne
Subject: [Fmsystem-commits] [15795] property: allow empty values on status
Date: Tue, 4 Oct 2016 11:05:30 +0000 (UTC)

Revision: 15795
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15795
Author:   sigurdne
Date:     2016-10-04 11:05:30 +0000 (Tue, 04 Oct 2016)
Log Message:
-----------
property: allow empty values on status

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

Modified: trunk/property/inc/class.soentity.inc.php
===================================================================
--- trunk/property/inc/class.soentity.inc.php   2016-10-04 03:34:07 UTC (rev 
15794)
+++ trunk/property/inc/class.soentity.inc.php   2016-10-04 11:05:30 UTC (rev 
15795)
@@ -837,7 +837,7 @@
                                        {
                                                if(!empty($attibute['choice']))
                                                {
-                                                       $_querymethod[] = 
"CAST( json_representation->>'status' AS integer) < 90";
+                                                       $_querymethod[] = 
"(json_representation->>'status' IS NULL OR CAST( 
json_representation->>'status' AS integer) < 90)";
                                                        $__querymethod = 
array(); // remove block
                                                }
                                        }




reply via email to

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