1
0
This commit is contained in:
Daniel Tartavel 2019-09-02 23:41:04 +02:00
parent 25a17f2efd
commit 39c249772a

View File

@ -37,6 +37,7 @@ while ($user = $doldb->result->fetch_assoc())
{ {
$phone = $user["phone_mobile"]; $phone = $user["phone_mobile"];
} }
$user["firstname"] = "";
$name = json_encode((!empty($user["firstname"])?$user["firstname"]:"") . (!empty($user["lastname"])?" " . $user["lastname"]:"")); $name = json_encode((!empty($user["firstname"])?$user["firstname"]:"") . (!empty($user["lastname"])?" " . $user["lastname"]:""));
echo "=$name="; echo "=$name=";