mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 09:53:20 +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!");
|
throw new egw_exception_wrong_parameter("Wrong or unset required mode parameter!");
|
||||||
}
|
}
|
||||||
$content['path'] = $_GET['path'];
|
$content['path'] = $_GET['path'];
|
||||||
if (!empty($content['path']))
|
if (empty($content['path']))
|
||||||
{
|
{
|
||||||
$content['path'] = egw_session::appsession('select_path','filemanger');
|
$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
|
//Deactivate the opload field if the current directory is not writeable or
|
||||||
//we're currently not in the single file open mode.
|
//we're currently not in the single file open mode.
|
||||||
$content['no_upload'] = (!egw_vfs::is_writable($content['path']) ||
|
$content['no_upload'] = !egw_vfs::is_writable($content['path']) ||
|
||||||
!in_array($content['mode'],array('open')));
|
!in_array($content['mode'],array('open'));
|
||||||
|
|
||||||
$content['apps'] = array_keys(self::get_apps());
|
$content['apps'] = array_keys(self::get_apps());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user