ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001754ClearOSapp-web-proxy - Web Proxypublic2014-06-08 23:102014-06-24 20:43
ReporterVejlefjordskolen 
Assigned Tobchambers 
PrioritylowSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version6.5.0 
Target Version6.6.0 Beta 2Fixed in Version6.6.0 Beta 2 
Summary0001754: Use of undefined variable in Squid PHP class
DescriptionWhen 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?
Steps To ReproduceCall set_time_acl of a Squid instance.
Additional InformationThis 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.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2014-06-08 23:10 Vejlefjordskolen New Issue
2014-06-09 04:26 bchambers Assigned To => bchambers
2014-06-09 04:26 bchambers Status new => assigned
2014-06-09 08:33 bchambers Status assigned => acknowledged
2014-06-09 08:33 bchambers Target Version => 6.6.0 Beta 2
2014-06-09 08:34 bchambers Resolution open => fixed
2014-06-09 08:34 bchambers Fixed in Version => 6.6.0 Beta 2
2014-06-09 13:24 user2 Status acknowledged => resolved
2014-06-24 20:43 user2 Status resolved => closed