Fixed missing "!" in isset call.
authorWiktor Walc
Tue, 23 Dec 2008 15:18:46 +0000 (15:18 +0000)
committerWiktor Walc
Tue, 23 Dec 2008 15:18:46 +0000 (15:18 +0000)
fckeditor.module

index 68ea65b..f4ec139 100644 (file)
@@ -1603,7 +1603,7 @@ function fckeditor_global_profile_form_build($sth, $edit) {
     '#collapsed' => TRUE,
     );
   
-    $current_private_dir = isset($edit->settings['private_dir']) ? "" : $edit->settings['private_dir'];
+    $current_private_dir = !isset($edit->settings['private_dir']) ? "" : $edit->settings['private_dir'];
     $form['fckeditor_advanced_settings']['private_dir'] = array(
       '#type' => 'textfield',
       '#title' => t('Location of files uploaded with FCKeditor in the private folder'),