Parse error: syntax error, unexpected 'if' (T_IF), expecting ')' in /var/www/cargocollective.com/releases/14-07-22-master-04744754/_lib/functions.legacyqueries.php on line 87