1
0

debuggage

This commit is contained in:
Daniel Tartavel 2019-11-30 00:20:52 +01:00
parent 5bde926e53
commit dc058b29ba

View File

@ -45,6 +45,7 @@ while ($user = $doldb->result->fetch_assoc())
$ncdb->query("SELECT configvalue FROM oc_preferences WHERE userid='" . $user["login"] . "' AND appid='core' AND configkey='enabled'"); $ncdb->query("SELECT configvalue FROM oc_preferences WHERE userid='" . $user["login"] . "' AND appid='core' AND configkey='enabled'");
if ( $ncdb->result->num_rows != 0 ) if ( $ncdb->result->num_rows != 0 )
{ {
print_r($r);
$r = $ncdb->result->fetch_assoc(); $r = $ncdb->result->fetch_assoc();
$status = $r["configvalue"] ; $status = $r["configvalue"] ;
}else }else