Commit 35dd110a authored by Stephane Bouvry's avatar Stephane Bouvry
Browse files

Fix droit d'accès à l'édition des rappels par emails

parent 1b9311a7
Loading
Loading
Loading
Loading
+2 −1
Changes for module/Oscar/src/Oscar/Service/UserParametersService.php: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -56,7 +56,8 @@ class UserParametersService implements ServiceLocatorAwareInterface, EntityManag

    public function performChangeFrequency( $userInput )
    {
        if( !$this->getConfiguration('oscar.declarationsHoursOverwriteByAuth', false) ){
        $changeable = $this->getConfiguration('oscar.notifications.override', false);
        if( !$changeable ){
            throw new OscarException(_('Cette option ne peut pas être modifiée'));
        }