Skip to content

Commit ca15871

Browse files
authored
Merge pull request #70 from forevermatt/patch-2
Stop using `$blog_id` before it's defined
2 parents 177686e + 7304ff7 commit ca15871

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

onelogin-saml-sso/php/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ function saml_acs() {
265265
}
266266

267267
if ($user_id) {
268-
if (is_multisite() && !is_user_member_of_blog($user_id, $blog_id)) {
268+
if (is_multisite() && !is_user_member_of_blog($user_id)) {
269269
if (get_option('onelogin_saml_autocreate')) {
270270
//Exist's but is not user to the current blog id
271271
$blog_id = get_current_blog_id();

0 commit comments

Comments
 (0)