Use correct / updated function (which actually exists!)

        Patch by kareila. 

diffs (12 lines):

diff -r 6051f616e75e -r 4708de4b21cb cgi-bin/DW/User/Edges/WatchTrust.pm
--- a/cgi-bin/DW/User/Edges/WatchTrust.pm       Wed Dec 01 10:59:11 2010 +0800
+++ b/cgi-bin/DW/User/Edges/WatchTrust.pm       Wed Dec 01 11:13:33 2010 +0800
@@ -1084,7 +1084,7 @@ sub _can_add_wt_edge {
     }
 
     # have they reached their friend limit?
-    my $fr_count = $opts->{'numfriends'} || $u->friend_uids;
+    my $fr_count = $opts->{'numfriends'} || $u->circle_userids;
     my $maxfriends = $u->count_maxfriends;
     if ($fr_count >= $maxfriends) {
         $$err = "You have reached your limit of $maxfriends friends.";
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to