mirror of
https://github.com/friendica/friendica
synced 2024-11-18 23:43:40 +00:00
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
3 changed files with 3 additions and 3 deletions
|
@ -23,7 +23,7 @@ function dfrn_poll_init(App $a)
|
|||
$destination_url = defaults($_GET, 'destination_url', '');
|
||||
$challenge = defaults($_GET, 'challenge' , '');
|
||||
$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');
|
||||
$quiet = x($_GET, 'quiet');
|
||||
|
||||
|
|
|
@ -308,4 +308,4 @@ class Login extends BaseModule
|
|||
|
||||
return $o;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -26,4 +26,4 @@ class Logout extends BaseModule
|
|||
info(t('Logged out.') . EOL);
|
||||
goaway(self::getApp()->get_baseurl());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue