Update fieldsattachment.php

Use PHP 5.3 compatible syntax or the fieldsattach will fail to install fully and whitescreen Joomla on some servers.