--- markdowneditor.buttons.inc	2010-08-07 15:33:32.000000000 +0200
+++ markdowneditor.buttons.incc	2010-08-07 15:34:07.000000000 +0200
@@ -18,6 +18,12 @@ $js_imceURL = ( $imce_url ? "markdownEdi
 //$js_cssPath = "markdownEditor.settings.cssPath = '". url("$path/library/markdown/markdowneditor.css") ."';";
 //$js_addStyleSheet = 'markdownEditor.settings.addStyleSheet();';
 
+foreach (array('eid', 'js_cssPath', 'js_addStyleSheet') as $var) {
+  if (!array_key_exists($var, get_defined_vars())) {
+    $$var = NULL;
+  }
+}
+
 // Define buttons
 //
 // 0: eid
