Moved the attachment ID first value into a variable so array_shift doesn...

Moved the attachment ID first value into a variable so array_shift doesn't throws a warning. Issue #95