diff --git a/nconnector.php b/nconnector.php index 03786ab..dc10f58 100755 --- a/nconnector.php +++ b/nconnector.php @@ -13,6 +13,7 @@ function esp( $s ) return $s; } +$flag=0; $doldb = new db("dolibarr"); $ncdb = new db("nextcloud"); $doldb->query("SELECT login, firstname, lastname, pass_crypted, fk_adherent_type, address, email, phone_perso, phone_mobile, zip, town FROM llx_adherent"); @@ -76,7 +77,7 @@ while ($user = $doldb->result->fetch_assoc()) } } $ncdb->result->close(); - if ($flag > 4) exit; + if ($flag > 5) exit; } $doldb->result->close(); ?>