|
|
@@ -160,7 +160,7 @@ class Rate extends Component
|
|
|
else
|
|
|
{
|
|
|
|
|
|
- if ($this->type > 1 && $this->type != sizeof($this->months))
|
|
|
+ if ($this->type > 1 && $this->type < sizeof($this->months))
|
|
|
{
|
|
|
// $this->errorMsg = 'Hai selezionato un numero di mesi errato in base all\'abbonamento selezionato' . $this->type .'.'. sizeof($this->months);
|
|
|
$this->errorMsg = 'Mesi selezionati superiori a quelli previsti dall’abbonamento';
|