mannhullet / mannhullet_no

The webpage of the student association Mannhullet at NTNU
https://www.mannhullet.no
0 stars 0 forks source link

Fix warnings for php strict standard #3

Open andrebk opened 6 years ago

andrebk commented 6 years ago

Apache error log has following error message on local machine: PHP Strict Standards: Only variables should be passed by reference in /var/www/mannhullet.local/application/layouts/scripts/layout.phtml on line 250, referer: http://mannhullet.local/admin/undergrupper

On the admin page the following warning is printed along with the name of the user: Strict Standards: Only variables should be passed by reference in /var/www/mannhullet.local/application/views/scripts/admin/index.phtml on line 4

On the admin page, under "Medlemmer", where site admins are listed, the following error message is printed along with the admin names: Strict Standards: Only variables should be passed by reference in /var/www/mannhullet.local/application/views/scripts/admin/medlemmer.phtml on line 106

There may be more cases of these warnings other places as well.