ソースを参照

Minor - fix PHP warning

Julio 7 年 前
コミット
cb05014db8
1 ファイル変更1 行追加1 行削除
  1. 1 1
      main/inc/local.inc.php

+ 1 - 1
main/inc/local.inc.php

@@ -365,7 +365,7 @@ if (!empty($_SESSION['_user']['user_id']) && !($login || $logout)) {
                         'update_type'
                     );
 
-                    $update_type = $update_type['update_type'];
+                    $update_type = isset($update_type['update_type']) ? $update_type['update_type'] : '';
                     if (!empty($extAuthSource[$update_type]['updateUser'])
                         && file_exists($extAuthSource[$update_type]['updateUser'])
                     ) {