Update helper.php

Install 3.4alpha with the testing sample data on postgressql
select related items from the All modules menu 
you'll get an Database Error query failed
cause of DATE_FORMAT() not supported by postgres
and cause of line 114 crpytic one