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 had to add global $user; in:
function uc_price_visibility_is_visible($node) {
global $user;
Comments
Comment #1
fizk CreditAttribution: fizk commentedThanks!
http://drupalcode.org/project/uc_price_visibility.git/commit/20a5a91dbc2...
Comment #2
fizk CreditAttribution: fizk commented