recursion and typo in rmagic with zid

This commit is contained in:
friendica
2013-02-13 00:14:01 -08:00
parent 02c636ed23
commit d1e5337c72
4 changed files with 3 additions and 41 deletions

View File

@@ -14,7 +14,7 @@ function rmagic_init(&$a) {
if($r) {
if($r[0]['hubloc_url'] === z_root())
goaway(z_root() . '/login');
$dest = z_root() . '/' . str_replace('zid=','zid_=',$get_app()->query_string);
$dest = z_root() . '/' . str_replace('zid=','zid_=',get_app()->query_string);
goaway($r[0]['hubloc_url'] . '/magic' . '?f=&dest=' . $dest);
}
}