[Top][All Lists]
[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: |
Fri, 14 Jun 2002 14:19:05 -0400 |
=================== BUG #631: FULL BUG SNAPSHOT ===================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=631&group_id=509
Submitted by: None Project: phpGroupWare
Submitted on: 2002-Jun-14 14:19
Category: API - phpGWapi Bug Group: 0.9.14 RC3
Severity: 5 - Major Priority: Immediate
Resolution: None Assigned to: None
Status: Open 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);
No Followups Have Been Posted
No files currently attached
For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=631&group_id=509
- [Phpgroupware-tracker] [Bug #631] class.common.inc.php: show_date() does not handle invalid $t,
nobody <=