mirror of
https://github.com/e107inc/e107.git
synced 2025-08-20 13:21:54 +02:00
Issue #213 Chatbox avatar issue corrected.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
// $Id$
|
||||
function user_avatar_shortcode($parm='')
|
||||
function user_avatar_shortcode($parm=null)
|
||||
{
|
||||
global $loop_uid;
|
||||
|
||||
@@ -27,7 +27,7 @@ function user_avatar_shortcode($parm='')
|
||||
$image=$row['user_image'];
|
||||
}
|
||||
}
|
||||
elseif($parm)
|
||||
elseif(!is_null($parm))
|
||||
{
|
||||
$image=$parm;
|
||||
}
|
||||
|
Reference in New Issue
Block a user