Closed (won't fix)
Project:
Fivestar Recommender
Version:
6.x-1.0-beta2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Sep 2009 at 23:52 UTC
Updated:
14 Sep 2009 at 01:27 UTC
$same_type = variable_get('fivestar_rec_same_type', 1)?'_fivestar_rec_enforce_same_type':NULL;
and then replace string constants with $same_type.
Comments
Comment #1
danithaca commentedplease double check api.drupal.org. the function variable_get() returns the default value as the 2nd param if the 1st param was not set. also, _fivestar_rec_enforce_same_type is the callback function handle, not a string variable.
marked as won't fix unless more info provided.
thanks for the support though.
Comment #2
danithaca commented