ORM relations now require you to do find_all() or count_all() to get the results.

This commit is contained in:
Bharat Mediratta
2009-12-23 13:31:52 -08:00
parent 3e8e13bd25
commit eb047d7f5d

View File

@@ -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): ?>