diff --git service_links.module service_links.module index 7181bec..20fa6a7 100644 --- service_links.module +++ service_links.module @@ -547,8 +547,6 @@ function _service_links_show($node) { * Load the static settings and keep clear the render function */ function _service_links_load_settings() { - $settings = array(); - $settings['short_links_use'] = variable_get('service_links_short_links_use', 0); $settings['attributes'] = array('rel' => 'nofollow'); @@ -557,8 +555,8 @@ function _service_links_load_settings() { } $settings['style'] = variable_get('service_links_style', 1); - $settings['link_weight'] = variable_get('service_links_weight', NULL); - $settings['link_show'] = variable_get('service_links_show', NULL); + $settings['link_weight'] = variable_get('service_links_weight', array()); + $settings['link_show'] = variable_get('service_links_show', array()); $settings['agg2_link'] = variable_get('service_links_agg2_link', 0);