Skip to content

Commit

Permalink
Update folderlist.php
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhlh committed Aug 9, 2016
1 parent ff7e512 commit 96a857e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libraries/joomla/form/fields/folderlist.php
Expand Up @@ -188,6 +188,9 @@ protected function getOptions()
{
$path = JPATH_ROOT . '/' . $path;
}

// clean input path, fix DS issue on windows
$path = JPath::clean($path);

// Prepend some default options based on field attributes.
if (!$this->hideNone)
Expand Down

0 comments on commit 96a857e

Please sign in to comment.