Trailing whitespace removed in /catalog php files

Code cleanup for @jamesallsup