summaryrefslogtreecommitdiff
path: root/plugins/newmail_notifier
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-07-31 18:07:54 +0200
committerAleksander Machniak <alec@alec.pl>2012-07-31 18:07:54 +0200
commit5cb8f9ff3b5eb44c03128ffecc5167499f795b5c (patch)
tree58ac0fcdc93d8a840f99115913a93f037fafd22c /plugins/newmail_notifier
parentb6267dadb6717eae9f661d14dc083bd24fbc3c29 (diff)
Fix for new output classes in master (#1488582)
Diffstat (limited to 'plugins/newmail_notifier')
-rw-r--r--plugins/newmail_notifier/newmail_notifier.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/newmail_notifier/newmail_notifier.php b/plugins/newmail_notifier/newmail_notifier.php
index 20ffac8ce..942421166 100644
--- a/plugins/newmail_notifier/newmail_notifier.php
+++ b/plugins/newmail_notifier/newmail_notifier.php
@@ -51,7 +51,7 @@ class newmail_notifier extends rcube_plugin
else { // if ($this->rc->task == 'mail') {
$this->add_hook('new_messages', array($this, 'notify'));
// add script when not in ajax and not in frame
- if (is_a($this->rc->output, 'rcube_template') && empty($_REQUEST['_framed'])) {
+ if (is_a($this->rc->output, 'rcube_output_html') && empty($_REQUEST['_framed'])) {
$this->add_texts('localization/');
$this->rc->output->add_label('newmail_notifier.title', 'newmail_notifier.body');
$this->include_script('newmail_notifier.js');