From c16eff5c3e6530afbb394a8c971dd5813a6f955d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Barrois?= Date: Sun, 15 May 2011 17:27:26 +0200 Subject: [PATCH] Fix PlTableEditor: don't require values for field which were not displayed. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Raphaël Barrois --- classes/pltableeditor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/pltableeditor.php b/classes/pltableeditor.php index c114a02..208a92d 100644 --- a/classes/pltableeditor.php +++ b/classes/pltableeditor.php @@ -361,7 +361,7 @@ class PLTableEditor } elseif ($descr['Type'] == 'ip_address') { $val = ip2long($val); } - } else { + } elseif ($descr['display']) { $cancel = true; $page->trigError("Il manque le champ ".$field); } -- 2.1.4