1
0

debuggage

This commit is contained in:
Daniel Tartavel 2019-11-30 00:16:32 +01:00
parent 02c2338bcd
commit 4f9109948d

View File

@ -53,7 +53,7 @@ while ($user = $doldb->result->fetch_assoc())
} }
if ( $user["fk_user_valid"] != $status ) if ( $user["fk_user_valid"] != $status )
{ {
$query = "UPDATE oc_preferences SET configvalue = '" . $user["fk_user_valid"] ."' WHERE user_id='" . $user["login"] . "' AND appid='core' AND configkey='enabled'" ; $query = "UPDATE oc_preferences SET configvalue = '" . $user["fk_user_valid"] ."' WHERE userid='" . $user["login"] . "' AND appid='core' AND configkey='enabled'" ;
$ncdb->query( $query ); $ncdb->query( $query );
echo $query; echo $query;
} }