X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=CRM%2FUtils%2FConstant.php;h=ef698fb89e26b49810c6d87313db036c94a49604;hb=1578e7cf94a9d31c7ef3a853f2a092bcd22c8012;hp=8a4164631bc8caea46078dced22282a92ecf8cf0;hpb=39de6fd54b9843705d13cb9f70fbcc6296103670;p=civicrm-core.git diff --git a/CRM/Utils/Constant.php b/CRM/Utils/Constant.php index 8a4164631b..ef698fb89e 100644 --- a/CRM/Utils/Constant.php +++ b/CRM/Utils/Constant.php @@ -23,7 +23,7 @@ | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ -*/ + */ /** * Class CRM_Utils_Constant @@ -43,8 +43,10 @@ class CRM_Utils_Constant { public static function value($name, $default = NULL) { if (defined($name)) { return constant($name); - } else { + } + else { return $default; } } + }