* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team *
* For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
setPostRequestElement('turbo_rates', '');
$RATES = array();
foreach (postRequestElement('rate') as $rate) {
+ // Convert German comma to dot
$rate = trim(convertCommaToDot($rate));
- if (!empty($rate)) $RATES[] = $rate;
+
+ if (!empty($rate)) {
+ array_push($RATES, $rate);
+ } // END - if
} // END - foreach
setPostRequestElement('turbo_rates', trim(implode(';', $RATES)));
unsetPostRequestElement('rate');