mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-04-19 03:59:18 -04:00
ORM relations now require you to do find_all() or count_all() to get the results.
This commit is contained in:
@@ -13,9 +13,9 @@
|
||||
<? 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): ?>
|
||||
|
||||
Reference in New Issue
Block a user