Index: CHANGELOG.txt
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/image_cycle/CHANGELOG.txt,v
retrieving revision 1.1.2.4
diff -u -r1.1.2.4 CHANGELOG.txt
--- CHANGELOG.txt	1 May 2009 03:08:17 -0000	1.1.2.4
+++ CHANGELOG.txt	24 May 2009 06:54:33 -0000
@@ -1,5 +1,10 @@
 // $Id: CHANGELOG.txt,v 1.1.2.4 2009/05/01 03:08:17 boombatower Exp $
 
+Image cycle 5.x-1.2, xxxx-xx-xx (development version)
+-------------------------------
+- Bugs:
+   * #471306: Only set page title on image_cycle/% pages.
+
 Image cycle 5.x-1.1, 2009-04-30
 -------------------------------
 - Changes
Index: image_cycle.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/image_cycle/image_cycle.module,v
retrieving revision 1.1.2.2
diff -u -r1.1.2.2 image_cycle.module
--- image_cycle.module	1 May 2009 03:02:52 -0000	1.1.2.2
+++ image_cycle.module	24 May 2009 06:54:34 -0000
@@ -20,6 +20,7 @@
       'access' => user_access('access content'),
       'type' => MENU_CALLBACK,
       'callback' => 'image_cycle_show',
+      'callback arguments' => array(arg(1), TRUE),
     );
   }
 
@@ -134,10 +135,7 @@
  * @param interger $tid Term ID.
  * @return string HTML output.
  */
-function image_cycle_show($tid = 0) {
-  if ($tid == 0) {
-    $tid = arg(1);
-  }
+function image_cycle_show($tid = 0, $set_title = FALSE) {
   $term = taxonomy_get_term($tid);
   $images = image_cycle_get_images($tid);
 
@@ -146,7 +144,9 @@
   $css = variable_get('image_cycle_css_' . $term->vid, '');
 
   $out = '';
-  drupal_set_title($term->name);
+  if ($set_title) {
+    drupal_set_title($term->name);
+  }
   drupal_add_js(drupal_get_path('module', 'image_cycle') . '/jquery.cycle.js');
   if ($css) {
     $out .= '<style>' . $css . '</style>';
