It seems something else is getting into the array. Attached is a screengrab.

CommentFileSizeAuthor
#5 profiletabs_zero.patch1.09 KBmaartenvg
profiletabs.png9.51 KBchristefano

Comments

maartenvg’s picture

Status: Active » Postponed (maintainer needs more info)

I can't reproduce this error. Did you try it on a clean installation, or do you have more modules running that might intervene with profile/profile tabs?

christefano’s picture

This is on an existing installation. No other modules that affect profile.module are installed, however. I'll do some conflict testing and report back.

christefano’s picture

The conflict is with Extended user status notifications 5.x-1.1 and 5.x-1.2. Do you have any ideas how to proceed?

maartenvg’s picture

Ok, I'll check it out.

maartenvg’s picture

Status: Postponed (maintainer needs more info) » Fixed
StatusFileSize
new1.09 KB

Ok, found the problem.

The user_status module incorrectly returns false on a hook_user('view'), which results in a empty category called '0'. Because there will be more modules that have this erroneous behavior, I've added a check for empty tabs.

It's been commited to CVS, but I will not make a new release yet. Attached you can find a patch, which will fix this issue for you.

Thanks for reporting the bug, and testing which module was naughty.

christefano’s picture

The patch applied nicely and the "0" is gone. Thanks for the quick fix!

Anonymous’s picture

Status: Fixed » Closed (fixed)

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