diff --git a/api/src/Etemplate/Widget/Vfs.php b/api/src/Etemplate/Widget/Vfs.php index 151e192397..c60d6e9463 100644 --- a/api/src/Etemplate/Widget/Vfs.php +++ b/api/src/Etemplate/Widget/Vfs.php @@ -43,7 +43,7 @@ class Vfs extends File $form_name = self::form_name($cname, $this->id, $expand ? $expand : array('cont'=>self::$request->content)); if($this->attrs['path']) { - $path = $this->attrs['path']; + $path = self::expand_name($this->attrs['path'],$expand['c'], $expand['row'], $expand['c_'], $expand['row_'], $expand['cont']); } else {