ClearFoundation Tracker - ClearOS
View Issue Details
0001754ClearOSapp-web-proxy - Web Proxypublic2014-06-08 23:102014-06-24 20:43
Vejlefjordskolen 
bchambers 
lowminoralways
closedfixed 
6.5.0 
6.6.0 Beta 26.6.0 Beta 2 
0001754: Use of undefined variable in Squid PHP class
When using the Squid class to modify configuration using the API, I get the following notice from PHP:

PHP notice: Undefined variable: replacement - /usr/clearos/apps/web_proxy/libraries/Squid.php (1078)

Looking at the line 1078 in that file, $replacement is indeed used without having been defined before. Maybe the function argument on that line was supposed to be null instead?
Call set_time_acl of a Squid instance.
This has been present for a long time. I don't remember exactly when it was introduced. It doesn't seem to have any effect on the functionality of the class.
No tags attached.
Issue History
2014-06-08 23:10VejlefjordskolenNew Issue
2014-06-09 04:26bchambersAssigned To => bchambers
2014-06-09 04:26bchambersStatusnew => assigned
2014-06-09 08:33bchambersStatusassigned => acknowledged
2014-06-09 08:33bchambersTarget Version => 6.6.0 Beta 2
2014-06-09 08:34bchambersResolutionopen => fixed
2014-06-09 08:34bchambersFixed in Version => 6.6.0 Beta 2
2014-06-09 13:24user2Statusacknowledged => resolved
2014-06-24 20:43user2Statusresolved => closed

There are no notes attached to this issue.