Fixing typo with get_error_message being referenced as a property

This commit is contained in:
Chris Harvey 2014-09-12 13:36:17 +01:00
parent aee2b62c85
commit 4a8ad5f09d
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ class WC_Shortcode_My_Account {
} elseif ( is_wp_error( $allow ) ) {
wc_add_notice( $allow->get_error_message, 'error' );
wc_add_notice( $allow->get_error_message(), 'error' );
return false;
}