summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_shaper_layer7.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-01-09 01:20:05 +0545
committerChris Buechler <cmb@pfsense.org>2015-01-08 14:26:02 -0600
commitbad9dec5e64fbeef35090748248fcc0d1edc7bff (patch)
tree86605f1e9912a5e27f601514f7c1e8ab6b3fb5b7 /usr/local/www/firewall_shaper_layer7.php
parent7c1c70d5ea751213307fec9e522a7f032c0c9499 (diff)
downloadpfsense-bad9dec5e64fbeef35090748248fcc0d1edc7bff.zip
pfsense-bad9dec5e64fbeef35090748248fcc0d1edc7bff.tar.gz
Deprecated and non-static method messages
Fix various files that can emit messages like: PHP Strict Standards: Non-static method SimplePie_Misc::array_unique() should not be called statically, assuming $this from incompatible context in /etc/inc/simplepie/simplepie.inc on line 5508 php-fpm[16262]: /rc.newipsecdns: PHP ERROR: Type: 8192, File: /etc/inc/shaper.inc, Line: 4365, Message: Assigning the return value of new by reference is deprecated Some of these style messages have been reported on the forum, e.g. https://forum.pfsense.org/index.php?topic=86448.0 I had RSS widget on, and simplepie sent the system beserk telling about all this stuff.
Diffstat (limited to 'usr/local/www/firewall_shaper_layer7.php')
-rw-r--r--usr/local/www/firewall_shaper_layer7.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/firewall_shaper_layer7.php b/usr/local/www/firewall_shaper_layer7.php
index 64e2457..059f3aa 100644
--- a/usr/local/www/firewall_shaper_layer7.php
+++ b/usr/local/www/firewall_shaper_layer7.php
@@ -130,7 +130,7 @@ else if ($_POST) {
$l7r = $layer7_rules_list[$name];
$_POST['divert_port'] = $l7r->GetRPort();
} else {
- $l7r =& new layer7();
+ $l7r = new layer7();
$_POST['divert_port'] = $l7r->gen_divert_port();
}
for($i=0; $_POST['protocol'][$i] <> ""; $i++) {
OpenPOWER on IntegriCloud