diff --git a/nconnector.php b/nconnector.php index 17c841f..7d9ed0c 100755 --- a/nconnector.php +++ b/nconnector.php @@ -48,7 +48,7 @@ while ($user = $doldb->result->fetch_assoc()) if ( $ncdb->result->num_rows != 0 ) { - $r = $ncdb->result->fetch_assoc();print_r($r); + $r = $ncdb->result->fetch_assoc(); $status = $r["configvalue"] ; }else { @@ -57,7 +57,7 @@ while ($user = $doldb->result->fetch_assoc()) } if ( $user["fk_user_valid"] != $status ) { - echo "\ndifférent\n##############################\n"; + echo "\ndifférent\n##############################\n$user["fk_user_valid"] != $status \n"; if ( $insert ) { $query = "INSERT INTO oc_preferences (configvalue) VALUES ( '" . $user["fk_user_valid"] . "' ) ";