mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
only replace @ or $cont, no $row_cont as we dont know row, upload/selection of vfs attachments in mail fails otherwise
This commit is contained in:
parent
b3ee7bc605
commit
090c6eb19f
@ -184,7 +184,7 @@ class etemplate_widget
|
||||
$template->attrs[$reader->name] = $value = $reader->value;
|
||||
|
||||
// expand attributes values, otherwise eg. validation can not use attrs referencing to content
|
||||
if ($value[0] == '@' || strpos($value, '$') !== false)
|
||||
if ($value[0] == '@' || strpos($value, '$cont') !== false)
|
||||
{
|
||||
$value = self::expand_name($value, null, null, null, null,
|
||||
isset(self::$cont) ? self::$cont : self::$request->content);
|
||||
|
Loading…
Reference in New Issue
Block a user