- Patch #1127312 by niklas: undefined variable items in theme_user_list() when displaying empty user/new block.
parent
0140d97039
commit
eeeb5dd72f
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue