projects
/
WP-Plugins
/
glm-member-db.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff97767
)
Cleaned up error handling in glmMembersAdminAjax()
author
Chuck Scott
<cscott@gaslightmedia.com>
Wed, 30 Mar 2016 17:30:35 +0000
(13:30 -0400)
committer
Chuck Scott
<cscott@gaslightmedia.com>
Wed, 30 Mar 2016 17:30:35 +0000
(13:30 -0400)
controllers/admin.php
patch
|
blob
|
history
diff --git
a/controllers/admin.php
b/controllers/admin.php
index
7a3388a
..
624f6d9
100644
(file)
--- a/
controllers/admin.php
+++ b/
controllers/admin.php
@@
-354,7
+354,9
@@
class glmMembersAdmin extends GlmPluginSupport
// Check if no matching action found
if (!$actionFound) {
- trigger_error ( 'ERROR: The specified action is not valid - '.$glmAction, E_USER_ERROR);
+ $err = 'ERROR: The specified action is not valid - '.$glmAction;
+ echo $err;
+ trigger_error ( $err, E_USER_ERROR);
}
wp_die();