Index: path_redirect.admin.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/path_redirect/Attic/path_redirect.admin.inc,v retrieving revision 1.1.2.15 diff -u -r1.1.2.15 path_redirect.admin.inc --- path_redirect.admin.inc 27 Jan 2008 03:48:24 -0000 1.1.2.15 +++ path_redirect.admin.inc 8 Mar 2008 01:50:46 -0000 @@ -95,7 +95,7 @@ $form['redirect']['query'] = array( '#type' => 'textfield', '#size' => 12, - '#maxlength' => 50, + '#maxlength' => 255, '#default_value' => $edit['query'], ); Index: path_redirect.install =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/path_redirect/path_redirect.install,v retrieving revision 1.2.2.6.2.5 diff -u -r1.2.2.6.2.5 path_redirect.install --- path_redirect.install 27 Jan 2008 03:48:24 -0000 1.2.2.6.2.5 +++ path_redirect.install 8 Mar 2008 01:50:46 -0000 @@ -41,7 +41,7 @@ ), 'query' => array( 'type' => 'varchar', - 'length' => 50, + 'length' => 255, 'not null' => FALSE, 'description' => t('The query string to send to the destination.'), ), @@ -120,6 +120,15 @@ function path_redirect_update_4() { cache_clear_all(NULL, 'cache_menu'); drupal_set_message(t('Menu paths for the Path Redirect module have been updated.')); - return array(); + $ret = array(); + db_change_field($ret, 'path_redirect', 'query', 'query', + array( + 'type' => 'varchar', + 'length' => 255, + 'not null' => FALSE, + 'description' => t('The query string to send to the destination.'), + ) + ); + return $ret; }