Index: modules/ping.module =================================================================== RCS file: /cvs/drupal/drupal/modules/ping.module,v retrieving revision 1.35 diff -u -F^f -r1.35 ping.module --- modules/ping.module 11 Apr 2006 11:19:59 -0000 1.35 +++ modules/ping.module 6 May 2006 20:32:15 -0000 @@ -36,9 +36,13 @@ function ping_help($section) { function ping_cron() { global $base_url; - if (variable_get('site_name', 0) && variable_get('site_slogan', 0)) { + if (variable_get('site_name', 0)) { if (db_num_rows(db_query("SELECT nid FROM {node} WHERE status = 1 AND moderate = 0 AND (created > '". variable_get('cron_last', time()) ."' OR changed > '". variable_get('cron_last', time()) ."')"), 1)) { - _ping_notify(variable_get('site_name', '') .' - '. variable_get('site_slogan', ''), $base_url); + $site_title = variable_get('site_name', ''); + if (variable_get('site_slogan', 0)) { + $site_title .= ' - '. variable_get('site_slogan', ''); + } + _ping_notify($site_title, $base_url); } } }