diff options
Diffstat (limited to 'view/tpl/conv_item.tpl')
-rwxr-xr-x | view/tpl/conv_item.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl index 0a6622fa4..e6e9d880e 100755 --- a/view/tpl/conv_item.tpl +++ b/view/tpl/conv_item.tpl @@ -33,9 +33,9 @@ </div> <div class="clear"></div> </div> - {{if $item.is_photo}} + {{if $item.photo}} <div class="wall-photo-item" id="wall-photo-item-{{$item.id}}"> - <a href="{{$item.photo.link}}"><img style="max-width:{{$item.photo.width}}px; width:100%; height:auto;" src={{$item.photo.url}}></a> + {{$item.photo}} </div> {{/if}} {{if $item.body}} |