diff --git a/nconnector.php b/nconnector.php index 15d59c3..96a4b6c 100755 --- a/nconnector.php +++ b/nconnector.php @@ -69,11 +69,11 @@ while ($user = $doldb->result->fetch_assoc()) $datefin->add($interval); if ( $datefin->getTimestamp() <= mktime() ) { - echo "write_status( $insert, $user['login'], 0 )"; + echo "write_status( $insert, " . $user['login'] . ", 0 )"; }elseif ( $status == 0 ) { // ré active l'utlisateur désactivé à jour de cotisation. - echo "write_status( $insert, $user['login'], 1 )"; + echo "write_status( $insert, " . $user['login'] . ", 1 )"; } }else {