Skip to content

Commit d282467

Browse files
committed
autodiscover: do not complain if PR_DISPLAY_NAME is unset for an account
1 parent 52965ab commit d282467

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

exch/php/lib/db.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ function get_user_info_by_name($email_address)
6767
$results = $db_conn->query($sql_string);
6868
if (!$results)
6969
_log_db("failed to query database: " . $db_conn->error);
70+
$data_array["real_name"] = "";
7071
while (($row = $results->fetch_row())) {
7172
if ($row[0] == 805371935)
7273
$data_array["real_name"] = $row[1];

0 commit comments

Comments
 (0)