debuggage
This commit is contained in:
parent
54cbafb158
commit
40f91fde94
@ -48,7 +48,7 @@ while ($user = $doldb->result->fetch_assoc())
|
|||||||
if ( $ncdb->result->num_rows != 0 )
|
if ( $ncdb->result->num_rows != 0 )
|
||||||
{
|
{
|
||||||
|
|
||||||
$r = $ncdb->result->fetch_assoc();print_r($r);
|
$r = $ncdb->result->fetch_assoc();
|
||||||
$status = $r["configvalue"] ;
|
$status = $r["configvalue"] ;
|
||||||
}else
|
}else
|
||||||
{
|
{
|
||||||
@ -57,7 +57,7 @@ while ($user = $doldb->result->fetch_assoc())
|
|||||||
}
|
}
|
||||||
if ( $user["fk_user_valid"] != $status )
|
if ( $user["fk_user_valid"] != $status )
|
||||||
{
|
{
|
||||||
echo "\ndifférent\n##############################\n";
|
echo "\ndifférent\n##############################\n$user["fk_user_valid"] != $status \n";
|
||||||
if ( $insert )
|
if ( $insert )
|
||||||
{
|
{
|
||||||
$query = "INSERT INTO oc_preferences (configvalue) VALUES ( '" . $user["fk_user_valid"] . "' ) ";
|
$query = "INSERT INTO oc_preferences (configvalue) VALUES ( '" . $user["fk_user_valid"] . "' ) ";
|
||||||
|
Reference in New Issue
Block a user