Fix missing conversion of 0 -> No

This commit is contained in:
Nathan Gray 2013-01-02 17:30:39 +00:00
parent 5b94061086
commit c09a9aa61c

View File

@ -359,7 +359,7 @@ class importexport_export_csv implements importexport_iface_export_record
}
}
foreach((array)$fields['select-bool'] as $name) {
if($record->$name != null) {
if($record->$name !== null) {
$record->$name = $record->$name ? lang('Yes') : lang('No');
}
}