* PostgreSQL: fix SQL error viewing history of an entry containing attachments

This commit is contained in:
Ralf Becker 2015-04-25 10:08:41 +00:00
parent dfc9957176
commit 6cf72321ce

View File

@ -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', 'fs_mime'), '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'])
); );
} }