1
1
Fork 0

after login from arbitrary page, send back to that page

This commit is contained in:
Mike Macgirvin 2010-10-09 01:05:53 -07:00
commit 948cb29302
2 changed files with 4 additions and 2 deletions

View file

@ -71,8 +71,8 @@ else {
$a->cid = $r[0]['id'];
$_SESSION['cid'] = $a->cid;
}
if(($a->module !== 'home') && isset($_SESSION['return_url']))
goaway($a->get_baseurl() . '/' . $_SESSION['return_url']);
}
}