diff --git a/nconnector.php b/nconnector.php index aaad6b5..bb101fe 100755 --- a/nconnector.php +++ b/nconnector.php @@ -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'"); 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"] ; }else {