Преглед на файлове

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'])
                     ) {