diff --git a/fields/compatfolders.php b/fields/compatfolders.php index 0f69303175de468375f83b103c6d45901cf304a3..85f59fe88c7a75977bf7fad260b648c49f9c1a39 100644 --- a/fields/compatfolders.php +++ b/fields/compatfolders.php @@ -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); diff --git a/versioncompat.php b/versioncompat.php index 874e6ffa325774f600688ae2ee3a32cfa9233861..c26cf0cc7c8e89a0fc0470d19f6f153b7145f3ff 100644 --- a/versioncompat.php +++ b/versioncompat.php @@ -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'), ); diff --git a/versioncompat/tmpl/search.php b/versioncompat/tmpl/search.php deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000