debuggage

This commit is contained in:
Daniel Tartavel committed 2019-11-30 00:22:16 +01:00
1 parent dc058b29ba
commit 431e2b532a
1 file changed
+2 -2
+2 -2
View File
@@ -45,8 +45,8 @@ 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();print_r($r);
$status = $r["configvalue"] ; $status = $r["configvalue"] ;
}else }else
{ {