Add float casting back to dfrn_poll
- Add new line at end of new module files
This commit is contained in:
parent
9a3e773a9a
commit
0aea615995
|
@ -23,7 +23,7 @@ function dfrn_poll_init(App $a)
|
||||||
$destination_url = defaults($_GET, 'destination_url', '');
|
$destination_url = defaults($_GET, 'destination_url', '');
|
||||||
$challenge = defaults($_GET, 'challenge' , '');
|
$challenge = defaults($_GET, 'challenge' , '');
|
||||||
$sec = defaults($_GET, 'sec' , '');
|
$sec = defaults($_GET, 'sec' , '');
|
||||||
$dfrn_version = defaults($_GET, 'dfrn_version' , 2.0);
|
$dfrn_version = (float) defaults($_GET, 'dfrn_version' , 2.0);
|
||||||
$perm = defaults($_GET, 'perm' , 'r');
|
$perm = defaults($_GET, 'perm' , 'r');
|
||||||
$quiet = x($_GET, 'quiet');
|
$quiet = x($_GET, 'quiet');
|
||||||
|
|
||||||
|
|
|
@ -308,4 +308,4 @@ class Login extends BaseModule
|
||||||
|
|
||||||
return $o;
|
return $o;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,4 +26,4 @@ class Logout extends BaseModule
|
||||||
info(t('Logged out.') . EOL);
|
info(t('Logged out.') . EOL);
|
||||||
goaway(self::getApp()->get_baseurl());
|
goaway(self::getApp()->get_baseurl());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue