Set the title of the root album in the tree to the actual title of the root album
This commit is contained in:
parent
8f8d87bad8
commit
6471ac4dd6
@ -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";
|
||||
}
|
||||
|
Reference in New Issue
Block a user