Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
uc-paypal.patch | 766 bytes | Jody Lynn | |
Comments
Comment #1
longwaveCommitted to 6.x; already removed in 7.x.