When the uc_product_keys_list_form and uc_product_keys_list_sequences_form forms are themed
drupal_render($form) only gets called if you are an administrator.

This means if another module wants to add something to this form it will not appear unless it overrides
the theme function too, which is not ideal.

Because the check for admin is already done in the form function when adding elements it isn't needed when theming.

This patch addresses this issue.

CommentFileSizeAuthor
#1 uc_product_keys-696224-1.patch982 bytesagileware

Comments

agileware’s picture

StatusFileSize
new982 bytes

And once again, the patch doesn't attach :(

freixas’s picture

Assigned: Unassigned » freixas
Status: Needs review » Fixed

Looks good. I applied your patch. The fix will appear in the next dev version dated 1/25/10 or later.

Status: Fixed » Closed (fixed)

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