diff options
author | Jakob Sack <kde@jakobsack.de> | 2011-07-29 20:42:24 +0200 |
---|---|---|
committer | Jakob Sack <kde@jakobsack.de> | 2011-07-29 20:42:24 +0200 |
commit | 2bfad189e7e9c8ea78e4b5f78c9e779074dd991c (patch) | |
tree | 697204517c95647e382a4723545ade3950420913 /apps/user_openid | |
parent | e69079f9354464d21f31ae8b6d9e47988ba22fb4 (diff) | |
parent | d12d08e2f3553b06df6371535f971c9f193bd388 (diff) | |
download | nextcloud-server-2bfad189e7e9c8ea78e4b5f78c9e779074dd991c.tar.gz nextcloud-server-2bfad189e7e9c8ea78e4b5f78c9e779074dd991c.zip |
Merge branch 'master' of git://anongit.kde.org/owncloud into autoload
Conflicts:
lib/base.php
lib/filestorage.php
Diffstat (limited to 'apps/user_openid')
-rw-r--r-- | apps/user_openid/phpmyid.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/user_openid/phpmyid.php b/apps/user_openid/phpmyid.php index f35e6811b84..5726ca99948 100644 --- a/apps/user_openid/phpmyid.php +++ b/apps/user_openid/phpmyid.php @@ -326,27 +326,27 @@ function checkid ( $wait ) { user_session(); // Get the options, use defaults as necessary - $return_to = @strlen($_REQUEST['openid_return_to']) + $return_to = isset($_REQUEST['openid_return_to']) ? $_REQUEST['openid_return_to'] - : error_400('Missing return1_to'); + : error_400('Missing return_to'); - $identity = @strlen($_REQUEST['openid_identity']) + $identity = isset($_REQUEST['openid_identity']) ? $_REQUEST['openid_identity'] : error_get($return_to, 'Missing identity'); - $assoc_handle = @strlen($_REQUEST['openid_assoc_handle']) + $assoc_handle = isset($_REQUEST['openid_assoc_handle']) ? $_REQUEST['openid_assoc_handle'] : null; - $trust_root = @strlen($_REQUEST['openid_trust_root']) + $trust_root = isset($_REQUEST['openid_trust_root']) ? $_REQUEST['openid_trust_root'] : $return_to; - $sreg_required = @strlen($_REQUEST['openid_sreg_required']) + $sreg_required = isset($_REQUEST['openid_sreg_required']) ? $_REQUEST['openid_sreg.required'] : ''; - $sreg_optional = @strlen($_REQUEST['openid_sreg_optional']) + $sreg_optional = isset($_REQUEST['openid_sreg_optional']) ? $_REQUEST['openid_sreg.optional'] : ''; |