fixing ternary

PHP doesn't like nested ternaries without ()s.
parse_file_paths

Really useful when you're grabing data using SQL module.