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:
24c7dff
)
Fix test error, I think this syntax is less tolerated by some php versions.
author
eileen
<emcnaughton@wikimedia.org>
Tue, 29 Mar 2016 00:46:46 +0000
(13:46 +1300)
committer
eileen
<emcnaughton@wikimedia.org>
Tue, 29 Mar 2016 01:39:18 +0000
(14:39 +1300)
The code is unrelated to the PR but the PR must have triggered tests to run on this exposing test-grumpiness
CRM/Export/BAO/Export.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Export/BAO/Export.php
b/CRM/Export/BAO/Export.php
index 7020d53e90aeb20397382ce25bc9ffc5a1b02a4b..408326aa03113da1992ddb84958cefffa6b26a44 100644
(file)
--- a/
CRM/Export/BAO/Export.php
+++ b/
CRM/Export/BAO/Export.php
@@
-432,8
+432,9
@@
class CRM_Export_BAO_Export {
}
}
}
- if (!empty(self::defaultReturnProperty($exportMode))) {
- $returnProperties[self::defaultReturnProperty($exportMode)] = 1;
+ $defaultExportMode = self::defaultReturnProperty($exportMode);
+ if (!empty($defaultExportMode)) {
+ $returnProperties[$defaultExportMode] = 1;
}
}
else {