Update commonobject.class.php

hook module need extrafields parameter too
Merge pull request #1402 from defrance69/patch-29

Update commonobject.class.php