phpgroupware-tracker
[Top][All Lists]
Advanced

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

[Phpgroupware-tracker] [Bug #631] class.common.inc.php: show_date() does


From: nobody
Subject: [Phpgroupware-tracker] [Bug #631] class.common.inc.php: show_date() does not handle invalid $t
Date: Mon, 24 Jun 2002 21:39:04 -0400

=================== BUG #631: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=631&group_id=509

Changes by: Mark A Peters <address@hidden>
Date: 2002-Jun-24 20:39 (CST6CDT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
         Assigned to | None                      | skeeter
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
This has been corrected in CVS.

To grab a complete update of all fixes:

1)  Check to see if you have cvs installed: 'cvs --help'.
1a) If not, install a copy of cvs-cli from your favorite 
distro.

2)  Then just type:
    'cd <your phpgroupware dir>; cvs update -dP'.

You can do step 2 as many times in a day as you wish, and 
will always get the most current bug fixes.

Thanks,




=================== BUG #631: FULL BUG SNAPSHOT ===================


Submitted by: None                      Project: phpGroupWare                   
Submitted on: 2002-Jun-14 13:19
Category:  API - phpGWapi               Bug Group:  0.9.14 RC3                  
Severity:  5 - Major                    Priority:  Immediate                    
Resolution:  Fixed                      Assigned to:  skeeter                   
Status:  Closed                         Platform Version:  Windows              
Reproducibility:  Every Time            

Summary:  class.common.inc.php: show_date() does not handle invalid $t

Original Submission:  When $t goes invalid (-1, or below 0), the function 
doesn't check for validity and passes the value directly to date() which prints 
a warning message.

A quick fix is here: (class.common.inc.php line 1231)

if ($t<0) return ''; else return date($format,$t);

Follow-up Comments
*******************

-------------------------------------------------------
Date: 2002-Jun-24 20:39             By: skeeter
This has been corrected in CVS.

To grab a complete update of all fixes:

1)  Check to see if you have cvs installed: 'cvs --help'.
1a) If not, install a copy of cvs-cli from your favorite 
distro.

2)  Then just type:
    'cd <your phpgroupware dir>; cvs update -dP'.

You can do step 2 as many times in a day as you wish, and 
will always get the most current bug fixes.

Thanks,





No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=631&group_id=509



reply via email to

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