ORM::find_all() now uses null as the default value for offset.

This commit is contained in:
Bharat Mediratta
2009-11-26 19:36:57 -08:00
parent e8fb773b68
commit a3d904bcba
3 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@
<?= html::clean($album->title) ?>
</span>
<ul>
<? foreach ($album->children(null, 0, array(array("type", "=", "album"))) as $child): ?>
<? foreach ($album->children(null, null, array(array("type", "=", "album"))) as $child): ?>
<? if ($selected && $child->contains($selected)): ?>
<?= View::factory("organize_tree.html", array("selected" => $selected, "album" => $child)); ?>
<? else: ?>