Fixed variable name issue for trail period in recurring.php model when storing to database.
Merge remote-tracking branch 'upstream/master'