Prevent error when using nextcloud_link plugin in CLI
This commit is contained in:
parent
8d688a4189
commit
84084ff3ab
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ class nextcloud_link extends rcube_plugin
|
|||
{
|
||||
$this->rc = rcube::get_instance();
|
||||
|
||||
if ($this->rc->output->ajax_call || !empty($this->rc->output->env['framed'])) {
|
||||
if ($this->rc->output->type !== 'html' || !empty($this->rc->output->env['framed'])) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue