diff --git a/sites/all/modules/fivestar/fivestar.module b/sites/all/modules/fivestar/fivestar.module index e2451bd..1682efd 100644 --- a/sites/all/modules/fivestar/fivestar.module +++ b/sites/all/modules/fivestar/fivestar.module @@ -827,7 +827,7 @@ function fivestar_nodeapi(&$node, $op, $teaser, $page) { $stars = variable_get('fivestar_stars_'. $node->type, 5); $node->content['fivestar_widget'] = array( '#value' => fivestar_static('node', $node->nid, $node->type), - '#weight' => $position == 'above_static' ? -10 : 50, + '#weight' => strpos($position, 'above') === 0 ? -10 : 50, ); break; default: