From 06853c0e060769b5fa39cdf608b1926785c9c557 Mon Sep 17 00:00:00 2001
From: Andreas Gohr <andi@splitbrain.org>
Date: Sun, 29 Aug 2010 13:31:02 +0200
Subject: [PATCH] fixed namespace subscription file location FS#2013

If you subscribed to namespaces other than the root namespace using the
new develonly subscription feature you'll need to renew your
subscriptions.
---
 inc/subscription.php | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/inc/subscription.php b/inc/subscription.php
index 22d8fccd5..f39b87eb5 100644
--- a/inc/subscription.php
+++ b/inc/subscription.php
@@ -29,13 +29,11 @@ function subscription_filename($id) {
     $meta_fname = '.mlist';
     if ((substr($id, -1, 1) === ':')) {
         $meta_froot = getNS($id);
-        if ($meta_froot === false) {
-            $meta_fname = '/' . $meta_fname;
-        }
+        $meta_fname = '/' . $meta_fname;
     } else {
         $meta_froot = $id;
     }
-    return metaFN($meta_froot, $meta_fname);
+    return metaFN((string) $meta_froot, $meta_fname);
 }
 
 /**
-- 
GitLab