Commit 5b5c2f81 authored by Dries's avatar Dries

- Patch #1127312 by niklas: undefined variable items in theme_user_list() when...

- Patch #1127312 by niklas: undefined variable items in theme_user_list() when displaying empty user/new block.
parent 3c945b51
......@@ -1478,6 +1478,7 @@ function template_preprocess_user_picture(&$variables) {
function theme_user_list($variables) {
$users = $variables['users'];
$title = $variables['title'];
$items = array();
if (!empty($users)) {
foreach ($users as $user) {
......
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