#112866 fix field settings param & preg_replace; #112782 remove space before comma in format; patches by yojoe