1
0

debuggage

This commit is contained in:
Daniel Tartavel 2019-11-30 00:15:37 +01:00
parent 5c0bdd803d
commit 02c2338bcd

View File

@ -42,7 +42,7 @@ while ($user = $doldb->result->fetch_assoc())
{
$ncuser = $ncdb->result->fetch_assoc();
echo "uid:" . $ncuser["uid"] . "existe" . EOL;
$ncdb->query("SELECT configvalue FROM oc_preferences WHERE user_id='" . $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 )
{
$r = $ncdb->result->fetch_assoc();