From 8251522c38acc24a681b6a21e433d14d3f5f4ff3 Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Tue, 11 Dec 2007 10:33:57 +0000 Subject: [PATCH] fix empty check --- .../serendipity_event_spartacus/serendipity_event_spartacus.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5