Merge pull request #3080 from open-minds/develop
Remove useless filter for "text" parameter of boxes content
This commit is contained in:
commit
afc4529f7f
@ -273,7 +273,6 @@ class ModeleBoxes // Can't be abtract as it is instantiated to build "empty"
|
|||||||
$tdparam='';
|
$tdparam='';
|
||||||
if (isset($contents[$i][$j]['td'])) $tdparam.=' '.$contents[$i][$j]['td'];
|
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']:'';
|
$text=isset($contents[$i][$j]['text'])?$contents[$i][$j]['text']:'';
|
||||||
$textwithnotags=preg_replace('/<([^>]+)>/i','',$text);
|
$textwithnotags=preg_replace('/<([^>]+)>/i','',$text);
|
||||||
$text2=isset($contents[$i][$j]['text2'])?$contents[$i][$j]['text2']:'';
|
$text2=isset($contents[$i][$j]['text2'])?$contents[$i][$j]['text2']:'';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user