fix empty check
This commit is contained in:
parent
300a78d328
commit
93187737fb
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user