fix for #2742: filemanager broken since last svn update

This commit is contained in:
Ralf Becker 2010-10-16 12:26:54 +00:00
parent 7ed2f90ad4
commit e5e052441d

View File

@ -84,7 +84,7 @@ class filemanager_ui
*
* @return string
*/
function get_view()
public function get_view()
{
$view =& egw_cache::getSession('filemanager', 'view');
if (isset($_GET['view']))
@ -93,6 +93,7 @@ class filemanager_ui
}
if (!isset(self::$views[$view]))
{
reset(self::$views);
$view = key(self::$views);
}
return $view;