This mail is an automated notification from the bugs tracker
 of the project: Savane.




/**************************************************************************/
[bugs #468] Full Item Snapshot:

URL: <http://gna.org/bugs/?func=detailitem&item_id=468>
Project: Savane
Submitted by: Elfyn McBratney
On: Thu 07/01/2004 at 15:06

Category:  None
Severity:  1 - Trivial
Priority:  C - Normal
Resolution:  None
Privacy:  Public
Assigned to:  None
Status:  Open
Release:  
Planned Release:  


Summary:  Integer format specifier used with string argument in 
`.../include/trackers/format.php'

Original Submission:  Hello,



In `.../include/trackers/format.php' (line 237) the format specifier for the 
file size is an integer (followed by the literal string `KB') when 
util_filesize() returns a string, thus it's return value is cast to an int 
resulting in errnous file sizes (e.g., a return value of `25B' gets cast to 
`25' which gets formatted as `25KB'.



This error is only present in the email notifications - the tracker front-end 
is fine.



Attached is a patch to fix this.



CC List
-------

CC Address                          | Comment
------------------------------------+-----------------------------
elfyn --DOT-- mcbratney --AT-- gmail --DOT-- com | Add moi



File Attachments
-------------------

-------------------------------------------------------
Date: Thu 07/01/2004 at 15:06  Name: trackers-format.diff  Size: 488KB   By: beu

http://gna.org/bugs/download.php?item_id=468&amp;item_file_id=22






For detailed info, follow this link:
<http://gna.org/bugs/?func=detailitem&item_id=468>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


Reply via email to