Skip to content
Snippets Groups Projects
Commit 775fa4b7 authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

Minor fix

parent d06a4207
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,8 @@ class JFormFieldCompatFolders extends JFormFieldGroupedList
$folders = JFolder::folders($directory, (string)$dir['filter']);
foreach ($folders as $option) {
$groups[$label][] = JHtml::_('select.option', (string)$dir.DS.$option, $option);
// TODO: Make sure the $dir ends with a slash! (currently it appears to be always the case, but who knows)
$groups[$label][] = JHtml::_('select.option', (string)$dir . $option, $option);
}
}
reset($groups);
......
......@@ -24,7 +24,7 @@ class plgVmCustomVersionCompat extends vmCustomPlugin {
$this->varsToPush = array(
'compatibility'=>array(array(), 'array'),
'versions'=>array(array(), 'array'),
'searchable'=>array(0,'int'),
// 'searchable'=>array(0,'int'),
'directory'=>array('', 'string'),
'textversions'=>array('', 'string'),
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment