summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2014-05-21 11:57:36 +0200
committerGerrit Uitslag <klapinklapin@gmail.com>2014-05-21 11:57:36 +0200
commit6c0879f6b25dd03183827bdda461ceb599eb939a (patch)
treee658917c049dcb19399cd71319e4ef6a02e4dbce
parent84657ea239c6b7c08f5e4ffb58170d6521cdbb44 (diff)
downloadrpg-6c0879f6b25dd03183827bdda461ceb599eb939a.tar.gz
rpg-6c0879f6b25dd03183827bdda461ceb599eb939a.tar.bz2
change getNS output check to empty string as well
-rw-r--r--inc/io.php2
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