aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/default/friends/picker.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/friends/picker.php b/views/default/friends/picker.php
index d821aa268..447a15af8 100644
--- a/views/default/friends/picker.php
+++ b/views/default/friends/picker.php
@@ -22,7 +22,7 @@
}
// We need to count the number of friends pickers on the page.
- static $friendspicker;
+ global $friendspicker;
if (!isset($friendspicker)) $friendspicker = 0;
$friendspicker++;