BUG 12118 Fatal error en un dynaform cuando se habilita el html SOLVED
- Cuando se da click en enable html para habilitar la edición de un dynaform, luego de guardar y volver a preview se da un fatal error. - Change how smarty tags filtering.
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