View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0001754 | ClearOS | app-web-proxy - Web Proxy | public | 2014-06-08 23:10 | 2014-06-24 20:43 |
|
Reporter | Vejlefjordskolen | |
Assigned To | bchambers | |
Priority | low | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | 6.5.0 | |
Target Version | 6.6.0 Beta 2 | Fixed in Version | 6.6.0 Beta 2 | |
|
Summary | 0001754: Use of undefined variable in Squid PHP class |
Description | 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? |
Steps To Reproduce | Call set_time_acl of a Squid instance. |
Additional Information | 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. |
Tags | No tags attached. |
|
Attached Files | |
|