Anonymous users will see the Utility Bar even if the Display utility bar for anonymous users setting is switched on. That's because the _utility_bar_display_utility_bar() function does return TRUE for any of the variable utility_bar_display == 1 cases. It must return FALSE instead if variable utility_bar_display_anon == 0 (or is not set). Just removing the second return TRUE solves the problem.

CommentFileSizeAuthor
#1 utility_bar-1079246-1.patch354 bytesfuerst

Comments

fuerst’s picture

Status: Active » Needs review
StatusFileSize
new354 bytes

Attached the patch for the fix described above.

tobby’s picture

Status: Needs review » Closed (fixed)
fuerst’s picture

Thanks a lot for fast reaction :)