From: Raphaël Barrois Date: Sun, 15 May 2011 15:27:26 +0000 (+0200) Subject: Fix PlTableEditor: don't require values for field which were not displayed. X-Git-Tag: core/1.1.5~5 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=c16eff5c3e6530afbb394a8c971dd5813a6f955d;p=platal.git Fix PlTableEditor: don't require values for field which were not displayed. Signed-off-by: Raphaël Barrois --- 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); }