mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-18 20:51:23 +01:00
Pass mimetype along too as VFS widget and egw_link seem to expect them
This commit is contained in:
parent
45bc2123ee
commit
dee59471ae
@ -235,7 +235,7 @@ class historylog
|
|||||||
{
|
{
|
||||||
$_query[] = array(
|
$_query[] = array(
|
||||||
'table' => sqlfs_stream_wrapper::TABLE,
|
'table' => sqlfs_stream_wrapper::TABLE,
|
||||||
'cols' =>array('fs_id', 'fs_dir', '"filemanager"','COALESCE(fs_modifier,fs_creator)','"~file~"','fs_name','fs_modified', '""'),
|
'cols' =>array('fs_id', 'fs_dir', '"filemanager"','COALESCE(fs_modifier,fs_creator)','"~file~"','fs_name','fs_modified', 'fs_mime'),
|
||||||
'where' => array('fs_dir' => $file['ino'])
|
'where' => array('fs_dir' => $file['ino'])
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -270,8 +270,10 @@ class historylog
|
|||||||
|
|
||||||
$row['history_new_value'] = array(
|
$row['history_new_value'] = array(
|
||||||
'path' => $path,
|
'path' => $path,
|
||||||
'name' => basename($path)
|
'name' => basename($path),
|
||||||
|
'mime' => $row['history_old_value']
|
||||||
);
|
);
|
||||||
|
$row['history_old_value'] = '';
|
||||||
if($new_version !== null)
|
if($new_version !== null)
|
||||||
{
|
{
|
||||||
$rows[$new_version]['old_value'] = $row['history_new_value'];
|
$rows[$new_version]['old_value'] = $row['history_new_value'];
|
||||||
|
Loading…
Reference in New Issue
Block a user