From 6c0879f6b25dd03183827bdda461ceb599eb939a Mon Sep 17 00:00:00 2001 From: Gerrit Uitslag Date: Wed, 21 May 2014 11:57:36 +0200 Subject: change getNS output check to empty string as well --- inc/io.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3