X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fsynchro_ax.inc.php;h=d0be5484b42e758a79a3a2e56b5e0097d9b8b455;hb=30a6f0799c941b1110f831f93c82ac5309250c29;hp=ab0c8b66e4fd3f8496244402f9430549e7c9eb40;hpb=33ae80b59e0231b8fb6fa34cbe600078383b52a8;p=platal.git diff --git a/include/synchro_ax.inc.php b/include/synchro_ax.inc.php index ab0c8b6..d0be548 100644 --- a/include/synchro_ax.inc.php +++ b/include/synchro_ax.inc.php @@ -26,15 +26,13 @@ require_once('user.func.inc.php'); function is_ax_key_missing() { global $globals; - return !$globals->webservice->private_key_ax || !is_file($globals->webservice->private_key_ax); + return !isset($globals->webservice->private_key_ax) || !is_file($globals->webservice->private_key_ax); } function get_user_ax($matricule_ax, $raw=false) { require_once('webservices/ax/client.inc'); - global $globals; - $ancien = recupere_infos_ancien($matricule_ax); $userax = Array();