diff options
author | Phil Davis <phil.davis@inf.org> | 2015-01-09 01:20:05 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2015-01-09 01:20:05 +0545 |
commit | 91b9a02fb131746c67fdf9f34282f123a13f1b13 (patch) | |
tree | 5a8a4e9c38f4bb4bcdfd9e8f1be7eaa23a5670d9 /usr/local/www/firewall_shaper_layer7.php | |
parent | 6d1907a3d2d9729f37fe15d0291d3a0f9a85a25e (diff) | |
download | pfsense-91b9a02fb131746c67fdf9f34282f123a13f1b13.zip pfsense-91b9a02fb131746c67fdf9f34282f123a13f1b13.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.php | 2 |
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++) { |