Skip to content

Commit

Permalink
Fixed error in SPSS export
Browse files Browse the repository at this point in the history
  • Loading branch information
mennodekker committed Aug 22, 2016
1 parent 1c96806 commit 99711fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion classes/Gems/Export/ExportAbstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ protected function filterDateFormat($value, $dateFormat, $columnName)
{
$storageFormat = $this->model->get($columnName, 'storageFormat');

return \MUtil_Date::format($result, $dateFormat, $storageFormat);
return \MUtil_Date::format($value, $dateFormat, $storageFormat);
}

protected function filterFormatFunction($value, $functionName)
Expand Down
2 changes: 1 addition & 1 deletion classes/Gems/Export/SpssExport.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function getName() {
*/
public function addExport($data, $modelId=false)
{
parent::addExport($data, $modelId=false);
parent::addExport($data, $modelId);
if ($model = $this->getModel()) {
$this->addSpssFile();

Expand Down

0 comments on commit 99711fa

Please sign in to comment.