fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [10761] Added check for canceled control


From: Torstein
Subject: [Fmsystem-commits] [10761] Added check for canceled control
Date: Wed, 06 Feb 2013 07:01:20 +0000

Revision: 10761
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10761
Author:   vator
Date:     2013-02-06 07:01:20 +0000 (Wed, 06 Feb 2013)
Log Message:
-----------
Added check for canceled control

Modified Paths:
--------------
    trunk/controller/inc/model/class.check_list.inc.php

Modified: trunk/controller/inc/model/class.check_list.inc.php
===================================================================
--- trunk/controller/inc/model/class.check_list.inc.php 2013-02-06 07:00:20 UTC 
(rev 10760)
+++ trunk/controller/inc/model/class.check_list.inc.php 2013-02-06 07:01:20 UTC 
(rev 10761)
@@ -205,14 +205,14 @@
                  }
                 
                  // Validate STATUS                              
-                       if( $this->status != 0 and $this->status != 1 )
+                       if( $this->status != 0 && $this->status != 1 && 
$this->status != 3)
                  { 
                        $status = false;
                        $this->error_msg_array['status'] = "error_msg_2";
                  }
                  
                        // Validate STATUS ON PLANNED DATE                      
          
-                       if( $this->status == 0 and ( $this->planned_date == '' 
or $this->planned_date == 0) )
+                       if( $this->status == 0 && ( $this->planned_date == '' 
or $this->planned_date == 0) )
                  { 
                        $status = false;
                        $this->error_msg_array['status'] = "error_msg_7";




reply via email to

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