View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005159||phplist application||Template Management||public||28-12-05 14:15||18-02-08 14:16|
|Target Version||2.10.7||Fixed in Version||2.10.3|
|Summary||0005159: template images not replaced when re-uploaded|
|Description||When updating an image for a template in phplist, I found that the images were not updating, just staying the same as they were before. So I poked around and found that images for template id and image name were not being deleted before the new image was inserted into the table.|
Reason being that $$originalname was blank in /admin/class.image.inc on line 139 . So I changed the $$ to $.
template = %d
filename = "%s"
The original images are always saved the first time, further updates do not get updated.
|Additional Information||PHP Version 4.3.4.|
|Tags||No tags attached.|