summaryrefslogtreecommitdiffstats
path: root/custom/views
diff options
context:
space:
mode:
authornashe <thomas@chauchefoin.fr>2017-07-12 19:28:52 +0100
committernashe <thomas@chauchefoin.fr>2017-07-12 19:28:52 +0100
commit2f6fed34465b33725c63ad709fa3cec29e3f92e5 (patch)
tree2bc39862f8fed808dfdb4535b1c66379695573b0 /custom/views
parentdc4d42b4d04d517273ed006959bb21b6c9b0cbce (diff)
downloadplanet-2f6fed34465b33725c63ad709fa3cec29e3f92e5.tar
planet-2f6fed34465b33725c63ad709fa3cec29e3f92e5.tar.gz
planet-2f6fed34465b33725c63ad709fa3cec29e3f92e5.tar.bz2
planet-2f6fed34465b33725c63ad709fa3cec29e3f92e5.tar.xz
planet-2f6fed34465b33725c63ad709fa3cec29e3f92e5.zip
Fix PHP notice
"Only variables should be assigned by reference in moonmoon/custom/views/default/sidebar.tpl.php"
Diffstat (limited to 'custom/views')
-rwxr-xr-xcustom/views/archive/sidebar.tpl.php2
-rwxr-xr-xcustom/views/default/sidebar.tpl.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/custom/views/archive/sidebar.tpl.php b/custom/views/archive/sidebar.tpl.php
index e21f377..7a5d080 100755
--- a/custom/views/archive/sidebar.tpl.php
+++ b/custom/views/archive/sidebar.tpl.php
@@ -1,5 +1,5 @@
<?php
-$all_people = &$Planet->getPeople();
+$all_people = $Planet->getPeople();
usort($all_people, array('PlanetFeed', 'compare'));
?>
<div id="sidebar">
diff --git a/custom/views/default/sidebar.tpl.php b/custom/views/default/sidebar.tpl.php
index 830f3c6..13ae626 100755
--- a/custom/views/default/sidebar.tpl.php
+++ b/custom/views/default/sidebar.tpl.php
@@ -1,5 +1,5 @@
<?php
-$all_people = &$Planet->getPeople();
+$all_people = $Planet->getPeople();
usort($all_people, array('PlanetFeed', 'compare'));
?>
<div id="sidebar" class="aside">