|
From: Benjamin C. <bc...@us...> - 2002-09-23 20:31:28
|
Update of /cvsroot/phpbt/phpbt In directory usw-pr-cvs1:/tmp/cvs-serv22334 Modified Files: query.php Log Message: Fixed a bug with the date columns rendering the date when the date value was 0. Index: query.php =================================================================== RCS file: /cvsroot/phpbt/phpbt/query.php,v retrieving revision 1.88 retrieving revision 1.89 diff -u -r1.88 -r1.89 --- query.php 14 Sep 2002 16:54:33 -0000 1.88 +++ query.php 23 Sep 2002 20:31:24 -0000 1.89 @@ -167,7 +167,7 @@ case 'last_modified_date' : case 'close_date' : echo '<div align="center">'. - $colvalue ? date(DATE_FORMAT, $colvalue) : ' '. + ($colvalue ? date(DATE_FORMAT, $colvalue) : ' '). '</div>'; break; case 'bug_id' : |