summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
Diffstat (limited to 'program')
-rw-r--r--program/include/rcube_imap.php2
-rw-r--r--program/js/app.js2
-rw-r--r--program/js/googiespell.js2
3 files changed, 4 insertions, 2 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php
index 002730f4b..a0a5f8189 100644
--- a/program/include/rcube_imap.php
+++ b/program/include/rcube_imap.php
@@ -3178,7 +3178,7 @@ class rcube_imap
if (is_array($ns)) {
foreach ($ns as $ns_data) {
if (strlen($ns_data[0])) {
- $search = $ns_data[0];
+ $search[] = $ns_data[0];
}
}
}
diff --git a/program/js/app.js b/program/js/app.js
index 5902b1d74..8b98a4268 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -5738,7 +5738,7 @@ function rcube_webmail()
this.plain2html = function(plainText, id)
{
var lock = this.set_busy(true, 'converting');
- $(document.getElementById(id)).val('<pre>'+plainText+'</pre>');
+ $(document.getElementById(id)).val(plainText ? '<pre>'+plainText+'</pre>' : '');
this.set_busy(false, null, lock);
};
diff --git a/program/js/googiespell.js b/program/js/googiespell.js
index e3fdf7d3b..96d612ca2 100644
--- a/program/js/googiespell.js
+++ b/program/js/googiespell.js
@@ -1,6 +1,8 @@
/*
SpellCheck
jQuery'fied spell checker based on GoogieSpell 4.0
+ (which was published under GPL "version 2 or any later version")
+
Copyright (C) 2006 Amir Salihefendic
Copyright (C) 2009 Aleksander Machniak
Copyright (C) 2011 Kolab Systems AG