Commit a8747be7 authored by Penny Leach's avatar Penny Leach

Dwoo support: fixing friends page, and display_name value checking

parent 6cfef743
......@@ -10,7 +10,7 @@
* @version 1.0
*/
function Dwoo_Plugin_display_name(Dwoo $dwoo, $user) {
if (!is_object($user)) {
if (!$user) {
return '';
}
......
......@@ -60,7 +60,7 @@
<div class="rightdiv">
<h3>
<a href="{$WWWROOT}user/view.php?id={$user->id}">
{$user->id|display_name|escape}
{$user|display_name|escape}
</a>
{if $page == 'find'}
- {str tag='existingfriend' section='group'}
......
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