diff --git a/forms/HtmlEditorConfig.php b/forms/HtmlEditorConfig.php
index aab05dc87..ec0873c22 100644
--- a/forms/HtmlEditorConfig.php
+++ b/forms/HtmlEditorConfig.php
@@ -110,7 +110,7 @@ class HtmlEditorConfig {
* @return mixed - The value of the specified option
*/
function getOption($k) {
- return $this->settings[$k];
+ if(isset($this->settings[$k])) return $this->settings[$k];
}
/**