Index: fivestar.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/fivestar/fivestar.module,v retrieving revision 1.13.2.27 diff -u -r1.13.2.27 fivestar.module --- fivestar.module 23 Apr 2008 06:53:47 -0000 1.13.2.27 +++ fivestar.module 27 Apr 2008 20:56:47 -0000 @@ -575,7 +575,8 @@ */ function fivestar_preview_color() { $args = func_get_args(); - $filename = array_pop($args); + // Remove query string if it gets passed in as argument. + $filename = preg_replace('/\?.*$/', '', array_pop($args)); $type = array_pop($args); $widget = array_pop($args);