Update commonobject.class.php

hook module need extrafields parameter too