Merge pull request #5910 from nupplaphil/acctlink_followup
FollowUp Acctlink move
This commit is contained in:
commit
6606c9cbb2
|
@ -12,10 +12,10 @@ class Acctlink extends BaseModule
|
||||||
{
|
{
|
||||||
public static function content()
|
public static function content()
|
||||||
{
|
{
|
||||||
$addr = defaults($_REQUEST, 'addr', false);
|
$addr = defaults($_GET, 'addr', false);
|
||||||
|
|
||||||
if ($addr) {
|
if ($addr) {
|
||||||
$url = defaults(Probe::uri($addr), 'url', false);
|
$url = defaults(Probe::uri(trim($addr)), 'url', false);
|
||||||
|
|
||||||
if ($url) {
|
if ($url) {
|
||||||
goaway($url);
|
goaway($url);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user