debuggage
This commit is contained in:
parent
3e37263b44
commit
b3358c7534
@ -60,7 +60,7 @@ while ($user = $doldb->result->fetch_assoc())
|
|||||||
echo "\ndifférent\n##############################\n" . $user['fk_user_valid'] . "!=" . $status . "\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 (userid, appid, configkey, configvalue) VALUES ( '" . $ncuser["uid"] . "', 'core', 'enabled', '" . $user["fk_user_valid"] . "' ) ";
|
||||||
}else
|
}else
|
||||||
{
|
{
|
||||||
$query = "UPDATE oc_preferences SET configvalue = '" . $user["fk_user_valid"] ."' WHERE userid='" . $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'" ;
|
||||||
|
Reference in New Issue
Block a user