From 6471ac4dd6b83b9a132e5f341585650861ab8d17 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 2 Aug 2009 20:37:37 -0700 Subject: [PATCH] Set the title of the root album in the tree to the actual title of the root album --- modules/user_homes/helpers/user_homes_event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/user_homes/helpers/user_homes_event.php b/modules/user_homes/helpers/user_homes_event.php index bf586827..68cfa8ce 100644 --- a/modules/user_homes/helpers/user_homes_event.php +++ b/modules/user_homes/helpers/user_homes_event.php @@ -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"; }