Commit 02384327 authored by merlinofchaos's avatar merlinofchaos

Correct erroneous theme_user_picture call

parent 8784e8b4
......@@ -197,7 +197,7 @@ function views_handler_field_username($fieldinfo, $fielddata, $value, $data) {
function views_handler_field_userpic($fieldinfo, $fielddata, $value, $data) {
$account = user_load(array('uid' => $value));
if ($account !== FALSE) {
return theme_user_picture($account);
return theme('user_picture', $account);
}
}
......
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