Not all the theme functions define the variables in hook_theme to be passed to the .tpl files. Patch included to provide the variables.

Example: uc_cart_block_content.tpl.php -> $item_count is not defined.

The patch supplies was made from 6.x-2.2 in the uc_cart directory.

CommentFileSizeAuthor
uc_cart.themefix.patch1.07 KBonedotover

Comments

tr’s picture

Status: Active » Needs review

The proper status for an issue with a patch attached is "needs review". Just changing the status right now - I'll take a look at in in the next few days.

Island Usurper’s picture

Version: 6.x-2.2 » 6.x-2.x-dev
Status: Needs review » Fixed

I actually noticed this bug when I was porting the theme changes to Drupal 7, and I had done the same thing. Now it's committed to the 2.x branch as well. Thanks.

Status: Fixed » Closed (fixed)

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