diff options
author | Andreas Gohr <andi@splitbrain.org> | 2010-08-29 13:31:02 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2010-08-29 13:31:02 +0200 |
commit | 06853c0e060769b5fa39cdf608b1926785c9c557 (patch) | |
tree | 0ef836a5002878bb23138b7c5275c9e24a03083c /inc/subscription.php | |
parent | db6f7eaea3a9b1b536f2b65e54c911f2a4d49bd8 (diff) | |
download | rpg-06853c0e060769b5fa39cdf608b1926785c9c557.tar.gz rpg-06853c0e060769b5fa39cdf608b1926785c9c557.tar.bz2 |
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.
Diffstat (limited to 'inc/subscription.php')
-rw-r--r-- | inc/subscription.php | 6 |
1 files 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); } /** |