From a674e782b2e2c0f5c17595d54deeda11143a1194 Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Mon, 1 Jun 2015 01:36:37 +0200 Subject: [PATCH] fix Issue #1638 --- mod/photos.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/photos.php b/mod/photos.php index bd23cf104f..02ae0e76d2 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -84,7 +84,7 @@ function photos_init(&$a) { 'recent' => t('Recent Photos'), '$albums' => $albums['albums'], '$baseurl' => z_root(), - '$upload' => array( t('Upload New Photos'), $a->get_baseurl() . '/photos/' . $a->data['user']['nickname'] . '/upload/' . bin2hex($album)), + '$upload' => array( t('Upload New Photos'), $a->get_baseurl() . '/photos/' . $a->data['user']['nickname'] . '/upload'), '$can_post' => $can_post )); }