mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-18 04:31:06 +01:00
Pass mimetype along too as VFS widget and egw_link seem to expect them
This commit is contained in:
parent
611c35fc5f
commit
dea520f901
@ -235,7 +235,7 @@ class historylog
|
||||
{
|
||||
$_query[] = array(
|
||||
'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'])
|
||||
);
|
||||
}
|
||||
@ -270,8 +270,10 @@ class historylog
|
||||
|
||||
$row['history_new_value'] = array(
|
||||
'path' => $path,
|
||||
'name' => basename($path)
|
||||
'name' => basename($path),
|
||||
'mime' => $row['history_old_value']
|
||||
);
|
||||
$row['history_old_value'] = '';
|
||||
if($new_version !== null)
|
||||
{
|
||||
$rows[$new_version]['old_value'] = $row['history_new_value'];
|
||||
|
Loading…
Reference in New Issue
Block a user