This can be reproduced with a default Drupal 6.20 install and the 'One Page Profile' module installed and enabled. This is caused because a 'theme_select' category exists but is set to NULL. This category is only populated if more than one theme is enabled. Adding a simple isset($form[$field]) check resolves the issue.

Cheers,

Antoine

CommentFileSizeAuthor
#1 empty-category-1167864-1.patch670 bytesjantoine

Comments

jantoine’s picture

Status: Active » Needs review
StatusFileSize
new670 bytes

Patch attached.

Cheers,

Antoine

aidanlis’s picture

Status: Needs review » Fixed

Thanks, fixed!

Status: Fixed » Closed (fixed)

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