diff options
author | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-05-21 11:57:36 +0200 |
---|---|---|
committer | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-05-21 11:57:36 +0200 |
commit | 6c0879f6b25dd03183827bdda461ceb599eb939a (patch) | |
tree | e658917c049dcb19399cd71319e4ef6a02e4dbce | |
parent | 84657ea239c6b7c08f5e4ffb58170d6521cdbb44 (diff) | |
download | rpg-6c0879f6b25dd03183827bdda461ceb599eb939a.tar.gz rpg-6c0879f6b25dd03183827bdda461ceb599eb939a.tar.bz2 |
change getNS output check to empty string as well
-rw-r--r-- | inc/io.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/io.php b/inc/io.php index 27a34b045..dce676bbb 100644 --- a/inc/io.php +++ b/inc/io.php @@ -31,7 +31,7 @@ function io_sweepNS($id,$basedir='datadir'){ $delone = false; //scan all namespaces - while(($id = getNS($id)) !== false){ + while(($id = getNS($id)) !== ''){ $dir = $conf[$basedir].'/'.utf8_encodeFN(str_replace(':','/',$id)); //try to delete dir else return |