From 72759b79604f9f42c93281b01e5c6a45724e2469 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Tue, 3 Sep 2019 01:35:53 +0200 Subject: [PATCH] DT --- nconnector.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nconnector.php b/nconnector.php index b05f4b4..6304eed 100755 --- a/nconnector.php +++ b/nconnector.php @@ -54,8 +54,8 @@ while ($user = $doldb->result->fetch_assoc()) } $data["displayname"]["value"] = concat(utf8_encode($user["firstname"]), utf8_encode($user["lastname"])); - $address = concat($user['address'], $user["zip"]); - $data["address"]["value"] = concat ($address, $user["town"]); + $address = concat(utf8_encode($user['address']), $user["zip"]); + $data["address"]["value"] = concat ($address, utf8_encode($user["town"]); $data["email"]["value"] = $user["email"]; print_r($data); if (($account_data = json_encode($data)) == false )