Update default.php

It should be $type2 or else the type is missing
Merge pull request #14 from iamrobert/patch-1

Update default.php