From 1d28a1d88e4e97b943d82edf56b3b1a7d3b5c550 Mon Sep 17 00:00:00 2001 From: ben Date: Thu, 24 Jul 2008 17:08:02 +0000 Subject: The picker now selects the friendspickerN variable correctly. git-svn-id: https://code.elgg.org/elgg/trunk@1512 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/friends/picker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/default') 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++; -- cgit v1.2.3