- array(
- REQUEST_POST('title'),
- bigintval(REQUEST_POST('rate')),
- bigintval(REQUEST_POST('mpoi')),
- REQUEST_POST('yacc'),
- REQUEST_POST('ypass'),
- REQUEST_POST('yurl'),
- REQUEST_POST('yrdone'),
- REQUEST_POST('yrfailed'),
- REQUEST_POST('ytrans'),
- REQUEST_POST('allow_url'),
-), __FILE__, __LINE__);
- $msg = getMessage('ADMIN_PAYOUT_TYPE_ADDED');
+ array(
+ postRequestParameter('title'),
+ bigintval(postRequestParameter('rate')),
+ bigintval(postRequestParameter('min_points')),
+ postRequestParameter('yacc'),
+ postRequestParameter('ypass'),
+ postRequestParameter('yurl'),
+ postRequestParameter('yrdone'),
+ postRequestParameter('yrfailed'),
+ postRequestParameter('ytrans'),
+ postRequestParameter('allow_url'),
+ ), __FILE__, __LINE__);
+
+ // Get message
+ $message = getMessage('ADMIN_PAYOUT_TYPE_ADDED');