phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: todo/inc class.bo.inc.php,1.9,1.10


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: todo/inc class.bo.inc.php,1.9,1.10
Date: Sat, 13 Apr 2002 14:58:43 -0400

Update of /cvsroot/phpgroupware/todo/inc
In directory subversions:/tmp/cvs-serv15595

Modified Files:
        class.bo.inc.php 
Log Message:
fix

Index: class.bo.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/todo/inc/class.bo.inc.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** class.bo.inc.php    10 Apr 2002 02:59:09 -0000      1.9
--- class.bo.inc.php    13 Apr 2002 18:58:41 -0000      1.10
***************
*** 254,257 ****
--- 254,259 ----
                function check_values($values)
                {
+                       $datetime = CreateObject('phpgwapi.datetime');
+ 
                        if (!$values['title'])
                        {
***************
*** 271,275 ****
                        if ($values['smonth'] || $values['sday'] || 
$values['syear'])
                        {
!                               if(! 
$datetime->date_valid($values['syear'],$values['smonth'],$values['sday'])
                                {
                                        $error[] = lang('You have entered an 
starting invalid date');
--- 273,277 ----
                        if ($values['smonth'] || $values['sday'] || 
$values['syear'])
                        {
!                               if(! 
$datetime->date_valid($values['syear'],$values['smonth'],$values['sday']))
                                {
                                        $error[] = lang('You have entered an 
starting invalid date');
***************
*** 279,283 ****
                        if ($values['emonth'] || $values['eday'] || 
$values['eyear'])
                        {
!                               if(! 
$datetime->date_valid($values['eyear'],$values['emonth'],$values['eday'])
                                {
                                        $error[] = lang('You have entered an 
ending invalid date');
--- 281,285 ----
                        if ($values['emonth'] || $values['eday'] || 
$values['eyear'])
                        {
!                               if(! 
$datetime->date_valid($values['eyear'],$values['emonth'],$values['eday']))
                                {
                                        $error[] = lang('You have entered an 
ending invalid date');




reply via email to

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