From 5c0bdd803d32300e54959a26017589625134c9ef Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sat, 30 Nov 2019 00:14:27 +0100 Subject: [PATCH] debuggage --- nconnector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nconnector.php b/nconnector.php index a18877c..2f8b77c 100755 --- a/nconnector.php +++ b/nconnector.php @@ -42,7 +42,7 @@ while ($user = $doldb->result->fetch_assoc()) { $ncuser = $ncdb->result->fetch_assoc(); 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 ) { $r = $ncdb->result->fetch_assoc();