Fixed gh-324 that had a typo with the storing of the PHPx values. Improved the safeString helper method

This commit is contained in:
2018-07-23 04:53:59 +02:00
parent 6dd654c745
commit 812857da81
9 changed files with 51 additions and 15 deletions

View File

@ -930,7 +930,7 @@ class ComponentbuilderModelField extends JModelAdmin
if (ComponentbuilderHelper::checkString($typephpx))
{
// load the type_phpx property
$bucket[] = "\t".'type_phpx_1="'. str_replace('"', "'", $typephp).'"';
$bucket[] = "\t".'type_phpx_1="'. str_replace('"', "'", $typephpx).'"';
}
// if the bucket has been loaded
if (ComponentbuilderHelper::checkArray($bucket))