summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-02-08 08:18:34 +0100
committerAleksander Machniak <alec@alec.pl>2013-02-08 08:18:34 +0100
commita7e8ebc50962d72fe3df9b8cfdd8f2e537fbf04e (patch)
treeaacdb3eeea794c8b63b464fc772b758c9c7f2dc9
parent921115ed56cfcd0527b94bf599d4a80bc7f86616 (diff)
Fix reference to non-existing class rcube_output_html (#1488948)
-rw-r--r--plugins/newmail_notifier/newmail_notifier.php2
-rw-r--r--program/include/rcmail_output_html.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/newmail_notifier/newmail_notifier.php b/plugins/newmail_notifier/newmail_notifier.php
index a45eeaedb..e985c8b49 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_output_html') && empty($_REQUEST['_framed'])) {
+ if ($this->rc->output->type == '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');
diff --git a/program/include/rcmail_output_html.php b/program/include/rcmail_output_html.php
index 88af550ed..f6c5d919d 100644
--- a/program/include/rcmail_output_html.php
+++ b/program/include/rcmail_output_html.php
@@ -668,7 +668,7 @@ class rcmail_output_html extends rcmail_output
*
* @param string $input
* @return string
- * @uses rcube_output_html::parse_xml()
+ * @uses rcmail_output_html::parse_xml()
* @since 0.1-rc1
*/
public function just_parse($input)