]> git.mjollnir.org Git - s9y.git/commitdiff
fix empty check
authorgarvinhicking <garvinhicking>
Tue, 11 Dec 2007 10:33:57 +0000 (10:33 +0000)
committergarvinhicking <garvinhicking>
Tue, 11 Dec 2007 10:33:57 +0000 (10:33 +0000)
plugins/serendipity_event_spartacus/serendipity_event_spartacus.php

index 13e3985df379c5f0d6776905aecc81114c0531e7..14a5aafc354efe75647f0ef86926982f7045c46c 100644 (file)
@@ -292,7 +292,7 @@ class serendipity_event_spartacus extends serendipity_event
     function rmkdir($dir, $sub = 'plugins') {
         global $serendipity;
 
-        if (serendipity_db_bool($this->get_config('use_ftp')) && !empty($this->get_config('ftp_password')) {
+        if (serendipity_db_bool($this->get_config('use_ftp')) && $this->get_config('ftp_password') != '') {
             return $this->make_dir_via_ftp($dir);
         }