attachref.inc.phpのバグ修正。（issues/3)