Remove useless filter for "text" parameter of boxes content

This filter doesn't allow to display "0" value and is not applied to the similar "text2" parameter.
This commit is contained in:
Laurent Léonard 2015-06-22 02:53:28 +02:00
parent a337b6f874
commit ba64486e68

View File

@ -273,7 +273,6 @@ class ModeleBoxes // Can't be abtract as it is instantiated to build "empty"
$tdparam='';
if (isset($contents[$i][$j]['td'])) $tdparam.=' '.$contents[$i][$j]['td'];
if (empty($contents[$i][$j]['text'])) $contents[$i][$j]['text']="";
$text=isset($contents[$i][$j]['text'])?$contents[$i][$j]['text']:'';
$textwithnotags=preg_replace('/<([^>]+)>/i','',$text);
$text2=isset($contents[$i][$j]['text2'])?$contents[$i][$j]['text2']:'';