summaryrefslogtreecommitdiff
path: root/core/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'core/helpers')
-rw-r--r--core/helpers/photo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/helpers/photo.php b/core/helpers/photo.php
index 0c098c84..aea568ba 100644
--- a/core/helpers/photo.php
+++ b/core/helpers/photo.php
@@ -94,7 +94,7 @@ class photo_Core {
$group = $form->group(sprintf(_("Add Photo to %s"), $parent->title));
$group->input("name")->label(true);
$group->input("title")->label(true);
- $group->input("description")->label(true)->rules("length[0, 255");
+ $group->textarea("description")->label(true)->rules("length[0, 255");
$group->upload("file")->label(true)->rules("allow[jpg,png,gif,tiff]");
$group->hidden("type")->value("photo");
$group->submit(_("Upload"));