Skip to content
This repository has been archived by the owner on Dec 26, 2020. It is now read-only.

Commit

Permalink
Fix error related to flash messages
Browse files Browse the repository at this point in the history
  • Loading branch information
EpocDotFr committed Jan 19, 2016
1 parent 3ac0de7 commit 8870079
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Controller/Wunderlist.php
Expand Up @@ -153,10 +153,10 @@ public function import() {
throw new \Exception(t('An error occured while uploading the Wunderlist export file'));
}

$this->session->flash(t('Wunderlist file imported successfuly'));
$this->flash->success(t('Wunderlist file imported successfuly'));
} catch (\Exception $e) {
$this->objectStorage->remove(self::WUNDERLIST_EXPORT_FILE);
$this->session->flashError($e->getMessage());
$this->flash->failure($e->getMessage());
}
}

Expand Down

0 comments on commit 8870079

Please sign in to comment.