--- theme_editor.module	2006-02-15 14:44:33.000000000 -0800
+++ theme_editor.module.new	2006-02-15 14:37:10.000000000 -0800
@@ -516,7 +516,7 @@
 }
 
 function _theme_editor_check_dir() {
-  if (!file_check_directory(file_create_path(variable_get('theme_editor_path', 'theme_editor')), FILE_CREATE_DIRECTORY)) {
+  if (!file_check_directory($tmp = file_create_path(variable_get('theme_editor_path', 'theme_editor')), FILE_CREATE_DIRECTORY)) {
     return t('The theme storage directory does not exist or is not writable.');
   }
 }
