From c862b37ce3a71fd90cbb90b52952969fbcfc86a9 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Mon, 23 Jan 2006 18:40:47 +0000 Subject: [PATCH] fixed some PHP notices --- lam/lib/modules.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lam/lib/modules.inc b/lam/lib/modules.inc index d87bc340..65780b39 100644 --- a/lam/lib/modules.inc +++ b/lam/lib/modules.inc @@ -557,7 +557,7 @@ function parseHtml($module, $input, $values, $restricted, &$tabindex, &$tabindex switch ($input[$i][$j]['kind']) { // plain text case 'text': - echo $input[$i][$j]['text']; + if (isset($input[$i][$j]['text'])) echo $input[$i][$j]['text']; break; // input fields case 'input': @@ -566,8 +566,8 @@ function parseHtml($module, $input, $values, $restricted, &$tabindex, &$tabindex $output = "