Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#BUG# showThumb 不能过滤非图片类附件 #7

Closed
chrisfoon opened this issue Apr 28, 2016 · 1 comment
Closed

#BUG# showThumb 不能过滤非图片类附件 #7

chrisfoon opened this issue Apr 28, 2016 · 1 comment

Comments

@chrisfoon
Copy link

chrisfoon commented Apr 28, 2016

function showThumb(){...} Line: 60

// 如果附件的类型为未知或其他格式, $this的 attachment里的属性isImage是存在的。
// 所以这里应该修改为: isset($attach->isImage) && $attach->isImage == 1

if (isset($attach->isImage)){}
@chakhsu
Copy link
Owner

chakhsu commented May 2, 2016

好的,谢谢!

@chakhsu chakhsu closed this as completed May 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants