projects
/
WP-Plugins
/
glm-member-db-billing.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad5c8d0
)
Highlight error
author
Steve Sutton
<steve@gaslightmedia.com>
Tue, 15 May 2018 16:28:14 +0000
(12:28 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Tue, 15 May 2018 16:28:14 +0000
(12:28 -0400)
show error in red font color.
models/admin/member/billing.php
patch
|
blob
|
history
diff --git
a/models/admin/member/billing.php
b/models/admin/member/billing.php
index
f1b0c15
..
df7ea0a
100644
(file)
--- a/
models/admin/member/billing.php
+++ b/
models/admin/member/billing.php
@@
-551,7
+551,7
@@
class GlmMembersAdmin_member_billing // extends GlmDataBilling
if ( $errors ) {
$paymentError = true;
- $messages[] =
$errors
;
+ $messages[] =
'<span style="color: red;">'.$errors.'</span>'
;
// Load DataClass for Management.
require_once GLM_MEMBERS_BILLING_PLUGIN_CLASS_PATH . '/data/dataManagement.php';
$Management = new GlmDataBillingManagement( $this->wpdb, $this->config );