mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-10-05 17:42:18 +02:00
fix for #2742: filemanager broken since last svn update
This commit is contained in:
parent
7ed2f90ad4
commit
e5e052441d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user