1
0

debuggage

This commit is contained in:
Daniel Tartavel 2019-11-30 01:04:30 +01:00
parent 54cbafb158
commit 40f91fde94

View File

@ -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"] . "' ) ";