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

This commit is contained in:
Ralf Becker 2015-04-25 10:08:12 +00:00
parent a3453dbcd6
commit 02161a851e

View File

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