From: garvinhicking Date: Tue, 11 Dec 2007 10:33:57 +0000 (+0000) Subject: fix empty check X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=8251522c38acc24a681b6a21e433d14d3f5f4ff3;p=s9y.git fix empty check --- diff --git a/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php b/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php index 13e3985..14a5aaf 100644 --- a/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php +++ b/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php @@ -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); }