Preference needs this to not get changed here, otherwise validation doesn't find what it needs

This commit is contained in:
nathangray 2020-12-22 11:54:31 -07:00
parent 6af3e37bed
commit 0a95588642

View File

@ -209,7 +209,7 @@ class Widget
// expand attributes values, otherwise eg. validation can not use attrs referencing to content
if ($value[0] == '@' || strpos($value, '$cont') !== false)
{
$template->attrs[$reader->name] = $value = self::expand_name($value, null, null, null, null,
$value = self::expand_name($value, null, null, null, null,
isset(self::$cont) ? self::$cont : self::$request->content);
}