Fix error on document editing page when using WOPI and assets_path (Bifrost#TT33306)

This commit is contained in:
Aleksander Machniak 2017-05-30 14:03:50 +02:00
parent 951f9f0efc
commit 8ff42df5e1

View file

@ -774,7 +774,7 @@ class kolab_files_engine
// editor requires additional arguments via POST
if (!empty($this->file_data['viewer']['post'])) {
$attrib['src'] = $this->rc->output->asset_url('program/resources/blank.gif');
$attrib['src'] = 'program/resources/blank.gif';
$form_content = new html_hiddenfield();
$form_attrib = array(