]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/galleryaction.php
common_good_rand was _not_ a "good rand", only hex
[quix0rs-gnu-social.git] / lib / galleryaction.php
index 51bb9e3e1a17d17e2af83c2eda6ccea0f6f38cef..85e3f0de3ebb6e2e6b016ad79b0f9307d5dde90e 100644 (file)
@@ -54,7 +54,7 @@ class GalleryAction extends ProfileAction
             return false;
         }
 
-        $this->user = User::staticGet('nickname', $nickname);
+        $this->user = User::getKV('nickname', $nickname);
 
         if (!$this->user) {
             // TRANS: Client error displayed when trying to perform a gallery action with an unknown user.