projects
/
WP-Plugins
/
glm-member-db-leads.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17038e0
)
Fix an error if nothing is passed in.
author
Steve Sutton
<steve@gaslightmedia.com>
Thu, 25 Aug 2016 17:31:42 +0000
(13:31 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Thu, 25 Aug 2016 17:31:42 +0000
(13:31 -0400)
If no id then don't do anything.
index.php
patch
|
blob
|
history
diff --git
a/index.php
b/index.php
index
fbcdd03
..
06df0a1
100644
(file)
--- a/
index.php
+++ b/
index.php
@@
-236,7
+236,7
@@
class glm_member_db_leads_bootstrap {
// Cron task to generate the Leads Stats
add_action(
GLM_MEMBERS_LEADS_PLUGIN_CRON_EVENT,
- function( $id ) {
+ function( $id
= null
) {
if ( $id ) {
$admin_url = admin_url();
$ical_feed_import_url = $admin_url