fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [9330] property: close controller case


From: Sigurd Nes
Subject: [Fmsystem-commits] [9330] property: close controller case
Date: Wed, 09 May 2012 07:57:42 +0000

Revision: 9330
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=9330
Author:   sigurdne
Date:     2012-05-09 07:57:41 +0000 (Wed, 09 May 2012)
Log Message:
-----------
property: close controller case

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

Modified: trunk/property/inc/class.sotts.inc.php
===================================================================
--- trunk/property/inc/class.sotts.inc.php      2012-05-09 07:43:54 UTC (rev 
9329)
+++ trunk/property/inc/class.sotts.inc.php      2012-05-09 07:57:41 UTC (rev 
9330)
@@ -893,7 +893,7 @@
                                        $this->db->query("SELECT closed from 
fm_tts_status WHERE id = {$check_new_custom}",__LINE__,__FILE__);
                                        $this->db->next_record();
 
-                                       if($this->db->f('closed') && 
($old_status!='X' && !$old_closed))
+                                       if(($this->db->f('closed') || 
$ticket['status'] == 'X') && ($old_status!='X' && !$old_closed))
                                        {
                                                $location_id = 
$GLOBALS['phpgw']->locations->get_id('property', '.ticket');
                                                $controller = 
CreateObject('controller.uicase'); 
@@ -1082,7 +1082,7 @@
                                        $this->db->query("SELECT closed from 
fm_tts_status WHERE id = {$check_new_custom}",__LINE__,__FILE__);
                                        $this->db->next_record();
 
-                                       if($this->db->f('closed') && 
($old_status!='X' && !$old_closed))
+                                       if(($this->db->f('closed') || 
$ticket['status'] == 'X') && ($old_status!='X' && !$old_closed))
                                        {
                                                $location_id = 
$GLOBALS['phpgw']->locations->get_id('property', '.ticket');
                                                $controller = 
CreateObject('controller.uicase'); 




reply via email to

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