From 6981ae93b5cceddb8d15165be5f05e3351fdf8d8 Mon Sep 17 00:00:00 2001 From: IMRAN HASSAN Date: Wed, 3 Jun 2015 10:38:22 +0000 Subject: [PATCH] view photo subscription if condition corrected.... --- upload/styles/cb_27/layout/view_photo.html | 2 +- upload/styles/cb_27/layout/watch_video.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/upload/styles/cb_27/layout/view_photo.html b/upload/styles/cb_27/layout/view_photo.html index c56a4338..5e6a9f7f 100644 --- a/upload/styles/cb_27/layout/view_photo.html +++ b/upload/styles/cb_27/layout/view_photo.html @@ -30,7 +30,7 @@
{$user.username}
- {if !$user.username} + {if $photo.userid != userid()} {/if}
diff --git a/upload/styles/cb_27/layout/watch_video.html b/upload/styles/cb_27/layout/watch_video.html index 52aba88b..5657051d 100644 --- a/upload/styles/cb_27/layout/watch_video.html +++ b/upload/styles/cb_27/layout/watch_video.html @@ -20,7 +20,7 @@ - {if $video.userid != userid()} + {if $video.userid != userid()} {lang('Subscribe')} {/if}