Skip to content

Commit

Permalink
fixed namespace subscription file location FS#2013
Browse files Browse the repository at this point in the history
If you subscribed to namespaces other than the root namespace using the
new develonly subscription feature you'll need to renew your
subscriptions.
  • Loading branch information
splitbrain committed Aug 29, 2010
1 parent db6f7ea commit 06853c0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions inc/subscription.php
Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit 06853c0

Please sign in to comment.