Index: uc_coupon.install =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/uc_coupon/uc_coupon.install,v retrieving revision 1.11 diff -u -p -r1.11 uc_coupon.install --- uc_coupon.install 14 Aug 2009 15:59:20 -0000 1.11 +++ uc_coupon.install 26 Aug 2009 12:44:37 -0000 @@ -182,7 +182,7 @@ function uc_coupon_update_6001() { 'default' => '', ); db_add_field($ret, 'uc_coupons', 'bulk_seed', $field); - $ret[] = update_sql("UPDATE {uc_coupons} SET bulk_seed = MD5(RAND()) WHERE bulk_seed = ''"); + $ret[] = update_sql("UPDATE {uc_coupons} SET bulk_seed = MD5(CAST(RAND() AS CHAR(32))) WHERE bulk_seed = ''"); } return $ret;