Explorar el Código

Minor - fix PHP warning

Julio hace 7 años
padre
commit
cb05014db8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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'])
                     ) {