From b82ff3f75991edb7d7599156aeec85c2c03c5102 Mon Sep 17 00:00:00 2001
From: Regis Houssin <regis@dolibarr.fr>
Date: Sun, 18 Mar 2012 15:22:15 +0100
Subject: [PATCH] Fix: missing parameter

---
 htdocs/core/ajax/saveinplace.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htdocs/core/ajax/saveinplace.php b/htdocs/core/ajax/saveinplace.php
index 300c36124ac..9af6a83e54a 100644
--- a/htdocs/core/ajax/saveinplace.php
+++ b/htdocs/core/ajax/saveinplace.php
@@ -50,7 +50,7 @@ if (! empty($field) && ! empty($element) && ! empty($table_element) && ! empty($
 	$ext_element		= GETPOST('ext_element','alpha',2);
 	$field				= substr($field, 8); // remove prefix val_
 	$type				= GETPOST('type','alpha',2);
-	$value				= ($type == 'ckeditor' ? GETPOST('value',2) : GETPOST('value','alpha',2));
+	$value				= ($type == 'ckeditor' ? GETPOST('value','',2) : GETPOST('value','alpha',2));
 	$savemethod			= GETPOST('savemethod','alpha',2);
 	$savemethodname		= (! empty($savemethod) ? $savemethod : 'setValueFrom');
 
-- 
GitLab