From f690a0be84e7fb8caff80fce0b45d6df97c9c4da Mon Sep 17 00:00:00 2001 From: "Ap.Muthu" Date: Sun, 14 Apr 2013 07:24:01 +0530 Subject: [PATCH] Fixed missing check for optional "description" index --- library/options.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/options.inc.php b/library/options.inc.php index c1b0ba181..3b83d525c 100644 --- a/library/options.inc.php +++ b/library/options.inc.php @@ -116,7 +116,7 @@ function generate_form_field($frow, $currvalue) { $list_id_esc = htmlspecialchars( $list_id, ENT_QUOTES); // Added 5-09 by BM - Translate description if applicable - $description = htmlspecialchars(xl_layout_label($frow['description']), ENT_QUOTES); + $description = (isset($frow['description']) ? htmlspecialchars(xl_layout_label($frow['description']), ENT_QUOTES) : ''); // added 5-2009 by BM to allow modification of the 'empty' text title field. // Can pass $frow['empty_title'] with this variable, otherwise -- 2.11.4.GIT