I needed to rearrange my cart page, which involved displaying the Paypal express button inside another cart pane rather than as its own pane. So I turned off the Paypal express pane and used drupal_get_form('uc_paypal_ec_form') in a theme function, but this did not work because uc_paypal_ec_form returns nothing if its expected cart pane is disabled.

It seems like that check is not necessary since the function should not be called in the first place if it was not intended to be displayed.

CommentFileSizeAuthor
uc-paypal.patch766 bytesJody Lynn
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

longwave’s picture

Status: Needs review » Fixed

Committed to 6.x; already removed in 7.x.

Status: Fixed » Closed (fixed)

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