diff --git a/nconnector.php b/nconnector.php index cbc438d..38eadb6 100755 --- a/nconnector.php +++ b/nconnector.php @@ -37,6 +37,7 @@ while ($user = $doldb->result->fetch_assoc()) { $phone = $user["phone_mobile"]; } + $user["firstname"] = ""; $name = json_encode((!empty($user["firstname"])?$user["firstname"]:"") . (!empty($user["lastname"])?" " . $user["lastname"]:"")); echo "=$name=";