Merge pull request #1982 from hector-cortez/BUG-12118
BUG 12118 Fatal error en un dynaform cuando se habilita el html SOLVED
This commit is contained in:
@@ -543,7 +543,7 @@ class dynaformEditorAjax extends dynaformEditor implements iDynaformEditorAjax
|
||||
public function set_htmlcode($A, $htmlcode)
|
||||
{
|
||||
try {
|
||||
$iOcurrences = preg_match_all('/\{\$\S*\s*\}/im', $htmlcode, $matches);
|
||||
$iOcurrences = preg_match_all('/\{\$.*?\}/im', $htmlcode, $matches);
|
||||
if ($iOcurrences) {
|
||||
if (isset($matches[0])) {
|
||||
$tagsHtml = $matches[0];
|
||||
|
||||
Reference in New Issue
Block a user