From: rabuzarus <> Date: Thu, 12 May 2016 23:26:07 +0000 (+0200) Subject: photos view: fix js error with undefined variable X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6944d67dbc2399abd7b65da07952b16c8178d3a5;p=friendica.git photos view: fix js error with undefined variable --- diff --git a/mod/photos.php b/mod/photos.php index 4761b627d8..7d4e2de59c 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -1079,6 +1079,10 @@ function photos_content(&$a) { $o = ""; + // js variables for liveUpdate function in main.js + $o .= "\r\n"; + // tabs $is_owner = (local_user() && (local_user() == $owner_uid)); $o .= profile_tabs($a,$is_owner, $a->data['user']['nickname']); diff --git a/view/templates/photo_view.tpl b/view/templates/photo_view.tpl index 847b623ebe..b85a1c2f53 100644 --- a/view/templates/photo_view.tpl +++ b/view/templates/photo_view.tpl @@ -1,5 +1,5 @@ -
+

{{$album.1}}