From 443920537518a19cba9edaecbcad9394b694a0b1 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 28 Oct 2011 01:16:23 +0200 Subject: [PATCH] Fix: Disable is not complete --- htdocs/core/class/html.form.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index ad387968520..f9be689faf2 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -153,12 +153,12 @@ class Form */ function editInPlace($value, $htmlname, $condition, $type='area') { - global $user; + global $conf,$user; $out=''; $value = ($value ? $value : " "); - if ($condition) + if (! empty($conf->global->MAIN_USE_JQUERY_JEDITABLE) && $condition) { $out.= '
'; $out.= $value;