Unselecting a service has no impact

bjacob - July 30, 2008 - 09:03
Project:Blog reactions
Version:5.x-1.3
Component:Code
Category:bug report
Priority:normal
Assigned:sanduhrs
Status:closed
Description

I've unchecked Blogsearch and Bloglines on admin/settings/blog_reactions. Despite of my settings the services are queried and the results are inserted into the database. I'm not a talented programmer but I think it has something to do with the conditions in blog_reactions_fetch(). For example IMHO

if (in_array('blogsearch', $services)) {

is always true. Shouldn't we change it to

if ($services['blogsearch']) {

#1

sanduhrs - July 30, 2008 - 09:22
Assigned to:Anonymous» sanduhrs
Status:active» fixed

You're absolutely right.
Fixed and commited to 5,6,HEAD.
Thanks.

#2

Anonymous (not verified) - August 13, 2008 - 09:24
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.