- SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_refdepths` SET level='%s', percents='%s' WHERE `id`=%s LIMIT 1",
- array(bigintval($value), postRequestElement('perc', $id), $id), __FILE__, __LINE__);
- }
- $message = getMessage('REF_DEPTHS_SAVED');
+ SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_refdepths` SET `level`=%s, `percents`=%s WHERE `id`=%s LIMIT 1",
+ array(bigintval($value), convertCommaToDot(postRequestParameter('percents', $id)), $id), __FILE__, __LINE__);
+ } // END - foreach
+ $message = '{--ADMIN_REFERAL_DEPTHS_SAVED--}';