projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc99f51
)
CRM-15248 - Tweak formatting
author
Tim Otten
<totten@civicrm.org>
Tue, 9 Sep 2014 10:11:57 +0000
(
03:11
-0700)
committer
Tim Otten
<totten@civicrm.org>
Tue, 9 Sep 2014 10:11:57 +0000
(
03:11
-0700)
CRM/Core/Smarty/plugins/function.crmVersion.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Smarty/plugins/function.crmVersion.php
b/CRM/Core/Smarty/plugins/function.crmVersion.php
index ad8c0d4274f271533e2b78e2df9e482c80ea1fd5..18ab67ad1b0707dfc92d76d35341d6e266833b70 100644
(file)
--- 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
+}