Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

ORM relations now require you to do find_all() or count_all() to get …

…the results.
  • Loading branch information...
commit eb047d7f5deff499ce71fe720058b335f4868fe3 1 parent 3e8e13b
@bharat bharat authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 modules/user/views/admin_users_group.html.php
View
4 modules/user/views/admin_users_group.html.php
@@ -13,9 +13,9 @@ class="g-button g-right ui-state-disabled ui-icon-left">
<? endif ?>
</h4>
-<? if ($group->users->count() > 0): ?>
+<? if ($group->users->count_all() > 0): ?>
<ul class="g-member-list">
- <? foreach ($group->users as $i => $user): ?>
+ <? foreach ($group->users->find_all() as $i => $user): ?>
<li class="g-user">
<?= html::clean($user->name) ?>
<? if (!$group->special): ?>
Please sign in to comment.
Something went wrong with that request. Please try again.