diff options
Diffstat (limited to 'modules/weblogs.module')
-rw-r--r-- | modules/weblogs.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/weblogs.module b/modules/weblogs.module index 3619124bf..ebd7671c6 100644 --- a/modules/weblogs.module +++ b/modules/weblogs.module @@ -14,9 +14,9 @@ function weblogs_help() { function weblogs_cron() { - if (variable_get("weblogs_ping", 0) && variable_get("site_name", 0) && variable_get("site_url", 0)) { + if (variable_get("weblogs_ping", 0) && variable_get("site_name", 0) && variable_get("site_slogan", 0)) { if (db_num_rows(db_query("SELECT nid FROM node WHERE status = 1 AND moderate = 0 AND (created > '". variable_get("weblogs_cron_last", time()) ."' OR changed > '". variable_get("weblogs_cron_last", time()) ."')"), 1)) { - weblogs_notify(variable_get("site_name", "") ." - ". variable_get("site_slogan", ""), variable_get("site_url", "")); + weblogs_notify(variable_get("site_name", "") ." - ". variable_get("site_slogan", ""), path_uri()); } variable_set("weblogs_cron_last", time()); |