1
0

debuggage

This commit is contained in:
Daniel Tartavel 2019-11-30 00:14:27 +01:00
parent ac6a1d2640
commit 5c0bdd803d

View File

@ -42,7 +42,7 @@ while ($user = $doldb->result->fetch_assoc())
{ {
$ncuser = $ncdb->result->fetch_assoc(); $ncuser = $ncdb->result->fetch_assoc();
echo "uid:" . $ncuser["uid"] . "existe" . EOL; echo "uid:" . $ncuser["uid"] . "existe" . EOL;
$ncdb->query("SELECT uid FROM oc_preferences WHERE user_id='" . $user["login"] . "' AND appid='core' AND configkey='enabled'"); $ncdb->query("SELECT configvalue FROM oc_preferences WHERE user_id='" . $user["login"] . "' AND appid='core' AND configkey='enabled'");
if ( $ncdb->result->num_rows != 0 ) if ( $ncdb->result->num_rows != 0 )
{ {
$r = $ncdb->result->fetch_assoc(); $r = $ncdb->result->fetch_assoc();