Update fieldsattachment.php

Use PHP 5.3 compatible syntax or the fieldsattach will fail to install fully and whitescreen Joomla on some servers.
Merge pull request #9 from newlocalmedia/master

OK !!! AND THANKS!!!!