This will not happen often, but I just got

Notice: Undefined variable: items in theme_user_list() (line 1489 of /var/www/consolero/modules/user/user.module).

CommentFileSizeAuthor
#1 1127312-undefined-items-1.patch423 bytesNiklas Fiekas

Comments

Niklas Fiekas’s picture

StatusFileSize
new423 bytes

Patch attached.

bfroehle’s picture

Version: 7.x-dev » 8.x-dev
Status: Active » Reviewed & tested by the community
Issue tags: +Needs backport to D7

Yes, it's silly, but it seems that calling theme_user_list() without any users would throw this error --- that is

theme('user_list', array('users' => array(), 'title' => 'Title'));
dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 7.x and 8.x.

aspilicious’s picture

Issue tags: -Needs backport to D7

untagging

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.