- // Add more content
- $content['text'] = SQL_ESCAPE(postRequestElement('reason'));
- $content['points'] = bigintval(postRequestElement('points'));
+ // Ok, add points to used points, send an email to him and ignore return status
+ subtractPoints('admin_sub_all', $content['userid'], postRequestElement('points'));
+
+ // Prepare content
+ $content = array(
+ 'reason' => SQL_ESCAPE(postRequestElement('reason')),
+ 'points' => bigintval(postRequestElement('points')),
+ 'subject' => 'admin_sub_all',
+ );