liquid_feedback_frontend
diff app/main/member/_profile.lua @ 1179:254661fb5d83
Force member image reload only for members own images
| author | bsw |
|---|---|
| date | Thu Mar 26 19:46:14 2015 +0100 (2015-03-26) |
| parents | 8874448bbb7a |
| children | 32cc544d5a5b |
line diff
1.1 --- a/app/main/member/_profile.lua Thu Mar 26 19:33:51 2015 +0100 1.2 +++ b/app/main/member/_profile.lua Thu Mar 26 19:46:14 2015 +0100 1.3 @@ -23,7 +23,7 @@ 1.4 params = { 1.5 member = member, 1.6 image_type = "photo", 1.7 - force_update = true 1.8 + force_update = app.session.member_id == member.id 1.9 } 1.10 } 1.11 end }