phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] projects/inc/class.boprojecthours.inc.php, 1.34


From: nomail
Subject: [Phpgroupware-cvs] projects/inc/class.boprojecthours.inc.php, 1.34
Date: Sun, 27 Jun 2004 22:06:28 +0200

Update of /projects/inc
Modified Files:
        Branch: 
          class.boprojecthours.inc.php

date: 2004/06/27 20:06:28;  author: ceb;  state: Exp;  lines: +7 -1

Log Message:
update
=====================================================================
Index: projects/inc/class.boprojecthours.inc.php
diff -u projects/inc/class.boprojecthours.inc.php:1.33 
projects/inc/class.boprojecthours.inc.php:1.34
--- projects/inc/class.boprojecthours.inc.php:1.33      Mon Jun 21 14:35:34 2004
+++ projects/inc/class.boprojecthours.inc.php   Sun Jun 27 20:06:28 2004
@@ -62,6 +62,7 @@
                        $this->status           = $this->boprojects->status;
                        $this->project_id       = $this->boprojects->project_id;
                        $this->cat_id           = $this->boprojects->cat_id;
+                       $this->limit            = True;
                        $this->siteconfig       = $this->boprojects->siteconfig;
                }
 
@@ -293,6 +294,11 @@
                                }
                        }*/
 
+                       if(intval($values['hours']) == 0 && 
intval($values['minutes']) == 0)
+                       {
+                               $error[] = lang('please enter the work hours');
+                       }
+
                        if($values['sdate'] > 0 && $values['edate'] > 0)
                        {
                                if($values['edate'] < $values['sdate'])




reply via email to

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