From bd9ca27546323ef7b7ef8f296dc7cab5b3d39a47 Mon Sep 17 00:00:00 2001 From: Fabian Erni <ferni@snowflake.ch> Date: Fri, 24 May 2013 16:07:21 +0300 Subject: [PATCH] Update editlist.phtml Same problem as before with title Value not set for new record --- themes/blueprint/templates/myresearch/editlist.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/blueprint/templates/myresearch/editlist.phtml b/themes/blueprint/templates/myresearch/editlist.phtml index e7d261851c9..cec75e6f2f2 100644 --- a/themes/blueprint/templates/myresearch/editlist.phtml +++ b/themes/blueprint/templates/myresearch/editlist.phtml @@ -17,7 +17,7 @@ <input id="list_title" type="text" name="title" value="<?=(isset($this->list['title'])?$this->escapeHtml($this->list['title']):''); ?>" size="50" class="mainFocus <?=$this->jqueryValidation(array('required'=>'This field is required')) ?>"/> <label class="displayBlock" for="list_desc"><?=$this->transEsc('Description') ?></label> -<textarea id="list_desc" name="desc" rows="3" cols="50"><?=$this->escapeHtml($this->list['description']) ?></textarea> +<textarea id="list_desc" name="desc" rows="3" cols="50"><?=(isset($this->list['description'])?$this->escapeHtml($this->list['description']):'') ?></textarea> <fieldset> <legend><?=$this->transEsc('Access') ?></legend> <input id="list_public_1" type="radio" name="public" value="1"<? if ($this->list->isPublic()): ?> checked="checked"<? endif; ?>/> <label for="list_public_1"><?=$this->transEsc('Public') ?></label> -- GitLab