move the limit on friends query.
diff --git a/includes/friendsFunctions.php b/includes/friendsFunctions.php
index 8fb6957..5abf515 100644
--- a/includes/friendsFunctions.php
+++ b/includes/friendsFunctions.php
@@ -56,6 +56,6 @@
$where = "WHERE F.is_benefit = 1 AND FC.date_expired > '2014-05-01 00:00:00' AND FC.date_expired < '2014-08-01 00:00:00'";
$friendsContributionsList = new FriendsContributionsList();
- $friendsContributionsList->selectFriendsContributionsList(0, 500, $where);
+ $friendsContributionsList->selectFriendsContributionsList(0, 1000, $where);
return $friendsContributionsList->getCount();
}
\ No newline at end of file