Commit 22ec6a1d by Scott

Fix errors when user handle missing

parent 5de98588
......@@ -113,10 +113,10 @@
$favoritemap=qa_get_favorite_non_qs_map();
foreach ($useridhandles as $useridhandle) {
if (isset($useridhandle['userid']) && $useridhandle['handle'])
if (isset($useridhandle['userid']))
$usershtml[$useridhandle['userid']]=qa_get_one_user_html($useridhandle['handle'], $microformats, @$favoritemap['user'][$useridhandle['userid']]);
if (isset($useridhandle['lastuserid']) && $useridhandle['lasthandle'])
if (isset($useridhandle['lastuserid']))
$usershtml[$useridhandle['lastuserid']]=qa_get_one_user_html($useridhandle['lasthandle'], $microformats, @$favoritemap['user'][$useridhandle['lastuserid']]);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment