Resolt BUG addcontratti.php

BUG line #949