Skip to content

Commit

Permalink
#936312 by rszrama: fix a misnamed access function call.
Browse files Browse the repository at this point in the history
  • Loading branch information
rszrama committed Oct 9, 2010
1 parent 0073de0 commit 2838cd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/customer/commerce_customer_ui.module
Expand Up @@ -104,7 +104,7 @@ function commerce_customer_ui_customer_profile_add_any_access() {

// Check the user's access on a profile type basis.
foreach (commerce_customer_profile_types() as $type => $profile_type) {
if (commerce_customer_access('create', $type)) {
if (commerce_customer_profile_access('create', $type)) {
return TRUE;
}
}
Expand Down

0 comments on commit 2838cd8

Please sign in to comment.