- SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_refdepths` SET `level`='%s', `percents`='%s' WHERE `id`=%s LIMIT 1",
- array(bigintval($value), postRequestElement('percents', $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(postRequestElement('percents', $id)), $id), __FILE__, __LINE__);
+ } // END - foreach
+ $message = '{--ADMIN_REFERRAL_DEPTHS_SAVED--}';