Update modules/page/setup/page.install.sql

bug fix on installation, integer argument not vaild
Update system/extrafields.php

fixed issue #1105
Update system/extrafields.php

updated for previous php versions
Merge pull request #1123 from Dandielo/master

Fixed issue #1105 and little bug on installation