$this->messages = []; | $this->messages = []; | ||||
if (is_null($section)) { | if (is_null($section)) { | ||||
$section = $this->sectionResolver->getCurrent(); | |||||
$section = $this->sectionResolver->getCurrent(true); | |||||
} | } | ||||
if (is_null($user)) { | if (is_null($user)) { |