fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [13875] update ticket from project


From: Sigurd Nes
Subject: [Fmsystem-commits] [13875] update ticket from project
Date: Thu, 10 Sep 2015 13:34:07 +0000

Revision: 13875
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13875
Author:   sigurdne
Date:     2015-09-10 13:34:06 +0000 (Thu, 10 Sep 2015)
Log Message:
-----------
update ticket from project

Modified Paths:
--------------
    trunk/property/inc/custom/default/EBF_update_ticket_on_project_change.php

Modified: 
trunk/property/inc/custom/default/EBF_update_ticket_on_project_change.php
===================================================================
--- trunk/property/inc/custom/default/EBF_update_ticket_on_project_change.php   
2015-09-10 09:18:46 UTC (rev 13874)
+++ trunk/property/inc/custom/default/EBF_update_ticket_on_project_change.php   
2015-09-10 13:34:06 UTC (rev 13875)
@@ -82,9 +82,19 @@
                                }
                        }
 
-                       $this->db->query("SELECT finnish_date, finnish_date2 
FROM fm_tts_tickets WHERE id='$id'",__LINE__,__FILE__);
+                       $this->db->query("SELECT status, finnish_date, 
finnish_date2 FROM fm_tts_tickets WHERE id='$id'",__LINE__,__FILE__);
                        $this->db->next_record();
 
+                       $status = $this->db->f('status');
+
+                       /**
+                        * Kun oppdatere ├ąpne meldinger
+                        */
+                       if($status == 'X')
+                       {
+                               return;
+                       }
+
                        $oldfinnish_date = (int)$this->db->f('finnish_date');
                        $oldfinnish_date2 = (int)$this->db->f('finnish_date2');
 




reply via email to

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