1
0

debuggage

This commit is contained in:
Daniel Tartavel 2019-11-30 01:12:09 +01:00
parent 3e37263b44
commit b3358c7534

View File

@ -60,7 +60,7 @@ while ($user = $doldb->result->fetch_assoc())
echo "\ndifférent\n##############################\n" . $user['fk_user_valid'] . "!=" . $status . "\n";
if ( $insert )
{
$query = "INSERT INTO oc_preferences (configvalue) VALUES ( '" . $user["fk_user_valid"] . "' ) ";
$query = "INSERT INTO oc_preferences (userid, appid, configkey, configvalue) VALUES ( '" . $ncuser["uid"] . "', 'core', 'enabled', '" . $user["fk_user_valid"] . "' ) ";
}else
{
$query = "UPDATE oc_preferences SET configvalue = '" . $user["fk_user_valid"] ."' WHERE userid='" . $user["login"] . "' AND appid='core' AND configkey='enabled'" ;