Skip to content

Commit 0c0f26e

Browse files
Merge pull request civicrm#291 from eileenmcnaughton/7.x-4.6
enotice fix
2 parents dee4ce9 + 724f71f commit 0c0f26e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/civicrm_engage/Engage/Report/Form/WalkList.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ function executePrintmode($rows) {
461461
if (!empty($value['civicrm_contact_gender_id'])){
462462
$sex = $gender[CRM_Utils_Array::value('civicrm_contact_gender_id', $value)];
463463
}
464-
$sex = is_null($sex) ? '' : $sex;
464+
$sex = empty($sex) ? '' : $sex;
465465
$lang = strtoupper(substr($value[$this->_demoTable . '_' . $this->_demoLangCol], 0, 2
466466
));
467467
$party = substr($value["{$this->_voterInfoTable}_{$this->_partyCol}"], 0, 1);

0 commit comments

Comments
 (0)