1
0

Set the title of the root album in the tree to the actual title of the root album

This commit is contained in:
Bharat Mediratta 2009-08-02 20:37:37 -07:00
parent 8f8d87bad8
commit 6471ac4dd6

View File

@ -146,7 +146,7 @@ class user_homes_event_Core {
*/
static function tree($parent, $dashes, &$array) {
if ($parent->id == "1") {
$array[$parent->id] = "home";
$array[$parent->id] = ORM::factory("item", 1)->title;
} else {
$array[$parent->id] = "$dashes $parent->name";
}