]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Photo.php
Merge pull request #13800 from annando/channel-languages
[friendica.git] / src / Module / Photo.php
index c8e0656d2df62ac9014697cdabd14a636ad73526..133c91d8d93d8e952f7650ae490ea55199d4b882 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2023, the Friendica project
+ * @copyright Copyright (C) 2010-2024, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -77,7 +77,7 @@ class Photo extends BaseApi
                        throw new NotModifiedException();
                }
 
-               Profile::addVisitorCookieForHTTPSigner();
+               Profile::addVisitorCookieForHTTPSigner($this->server);
 
                $customsize = 0;
                $square_resize = true;