Skip to content
Snippets Groups Projects
Commit ba64486e authored by Laurent Léonard's avatar Laurent Léonard
Browse files

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.
parent a337b6f8
No related branches found
No related tags found
No related merge requests found
......@@ -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']:'';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment