From: Tim Otten Date: Tue, 9 Sep 2014 10:11:57 +0000 (-0700) Subject: CRM-15248 - Tweak formatting X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=3ca277129718876fa4ed1d26867937728a265dc9;p=civicrm-core.git CRM-15248 - Tweak formatting --- diff --git a/CRM/Core/Smarty/plugins/function.crmVersion.php b/CRM/Core/Smarty/plugins/function.crmVersion.php index ad8c0d4274..18ab67ad1b 100644 --- a/CRM/Core/Smarty/plugins/function.crmVersion.php +++ b/CRM/Core/Smarty/plugins/function.crmVersion.php @@ -48,7 +48,7 @@ function smarty_function_crmVersion($params, &$smarty) { $redact = !CRM_Core_Permission::check('access CiviCRM'); if ($redact) { $parts = explode('.', $version); - $version = $parts[0] . '.' . $parts[1]; + $version = $parts[0] . '.' . $parts[1] . '.x'; } if (isset($params['assign'])) { @@ -57,4 +57,4 @@ function smarty_function_crmVersion($params, &$smarty) { else { return $version; } -} \ No newline at end of file +}