projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CRM-14106 - Regex targeting the first part of if statements
[civicrm-core.git]
/
CRM
/
Core
/
SelectValues.php
diff --git
a/CRM/Core/SelectValues.php
b/CRM/Core/SelectValues.php
index 877f00982a4a81f91aee9f577b1e6a2344791724..c7b96f54d635e884bb8dd8bee98f96ec0744c472 100644
(file)
--- a/
CRM/Core/SelectValues.php
+++ b/
CRM/Core/SelectValues.php
@@
-363,7
+363,7
@@
class CRM_Core_SelectValues {
$date['emptyOptionValue'] = '';
}
- if (
!CRM_Utils_Array::value('format', $date
)) {
+ if (
empty($date['format']
)) {
$date['format'] = 'M d';
}
}