[phpcvsview-cvs-updates] phpcvsview utils.php,1.6,1.7
Status: Pre-Alpha
Brought to you by:
bcheesem
From: Brian C. <bch...@us...> - 2005-02-03 23:48:42
|
Update of /cvsroot/phpcvsview/phpcvsview In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv959 Modified Files: utils.php Log Message: Fixed an error where we would get weekss output for timeframes greater than 1 year. Index: utils.php =================================================================== RCS file: /cvsroot/phpcvsview/phpcvsview/utils.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** utils.php 2 Feb 2005 07:14:49 -0000 1.6 --- utils.php 3 Feb 2005 23:48:34 -0000 1.7 *************** *** 84,90 **** $Result .= ', '.$date['weeks'].' '; $Result .= ($date['weeks'] > 1)? $lang['weeks'] : $lang['week']; - if ($date['weeks'] > 1) { - $Result .= "s"; - } } } --- 84,87 ---- |