mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 01:43:47 +01:00
Fixed bug with the upload field not being shown
This commit is contained in:
parent
0802dd072b
commit
4e8acf09a6
@ -69,7 +69,7 @@ class filemanager_select
|
||||
throw new egw_exception_wrong_parameter("Wrong or unset required mode parameter!");
|
||||
}
|
||||
$content['path'] = $_GET['path'];
|
||||
if (!empty($content['path']))
|
||||
if (empty($content['path']))
|
||||
{
|
||||
$content['path'] = egw_session::appsession('select_path','filemanger');
|
||||
}
|
||||
@ -194,8 +194,8 @@ class filemanager_select
|
||||
|
||||
//Deactivate the opload field if the current directory is not writeable or
|
||||
//we're currently not in the single file open mode.
|
||||
$content['no_upload'] = (!egw_vfs::is_writable($content['path']) ||
|
||||
!in_array($content['mode'],array('open')));
|
||||
$content['no_upload'] = !egw_vfs::is_writable($content['path']) ||
|
||||
!in_array($content['mode'],array('open'));
|
||||
|
||||
$content['apps'] = array_keys(self::get_apps());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user