summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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