Fixed syntax error in template-functions.php