fix: normalize form values for calculation
This commit is contained in:
@@ -431,7 +431,7 @@ class GroupsPriceInquiry
|
||||
*/
|
||||
public function getEffectivePax()
|
||||
{
|
||||
return max(30, $this->getPax() - $this->getChildren());
|
||||
return max(30, (int) $this->getPax() - (int) $this->getChildren());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user