diff --git a/nconnector.php b/nconnector.php index 75f437d..7d0a2bc 100755 --- a/nconnector.php +++ b/nconnector.php @@ -20,7 +20,7 @@ $ncdb = new db("nextcloud"); $doldb->query("SELECT login FROM llx_adherent"); while ($login = $doldb->result->fetch_object()) { - echo ($login[login]); + echo ($login["login"]); } $doldb->result->close(); ?>