Use expanded form name to look up path from widget ID

This commit is contained in:
nathangray 2019-04-23 14:47:52 -06:00
parent be556fc1d7
commit eeab4ebe31

View File

@ -47,7 +47,7 @@ class Vfs extends File
} }
else else
{ {
$path = $this->id; $path = $form_name;
} }
$this->setElementAttribute($form_name, 'path', $path); $this->setElementAttribute($form_name, 'path', $path);