diff options
-rw-r--r-- | core/helpers/album.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/helpers/album.php b/core/helpers/album.php index 3e77d521..dd8d1dd2 100644 --- a/core/helpers/album.php +++ b/core/helpers/album.php @@ -61,7 +61,7 @@ class album_Core { static function get_add_form($parent) { $form = new Forge("albums/{$parent->id}", "", "post", array("id" => "gAddAlbumForm")); - $group = $form->group(_("Add Album to {$parent->title}")); + $group = $form->group(_("Add Album to ") . $parent->title); $group->input("name"); $group->input("title"); $group->input("description"); @@ -69,6 +69,5 @@ class album_Core { $group->submit(_("Create")); $form->add_rules_from(ORM::factory("item")); return $form; - } } |