X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FProfile%2FPage%2FListings.php;h=0cec9a36ba272ca4e67bd44e3ce9744c3305e722;hb=d7f0cce659038cea4833903bf0bbc78b7e0c65d7;hp=ab05516edf481c6cb1cec304b5aab1bb69a91790;hpb=e50b42bd3b6559e6793ba64d42efe0de8492ae34;p=civicrm-core.git diff --git a/CRM/Profile/Page/Listings.php b/CRM/Profile/Page/Listings.php index ab05516edf..0cec9a36ba 100644 --- a/CRM/Profile/Page/Listings.php +++ b/CRM/Profile/Page/Listings.php @@ -449,11 +449,14 @@ class CRM_Profile_Page_Listings extends CRM_Core_Page { } /** - * @param string $suffix + * Check template file exists. * - * @return null|string + * @param string|null $suffix + * + * @return string|null + * Template file path, else null */ - public function checkTemplateFileExists($suffix = '') { + public function checkTemplateFileExists($suffix = NULL) { if ($this->_gid) { $templateFile = "CRM/Profile/Page/{$this->_gid}/Listings.{$suffix}tpl"; $template = CRM_Core_Page::getTemplate();