From c05e9b118cce484ab5a0b20b8e7138e6b02e17bf Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Thu, 19 Feb 2015 19:07:43 +0100 Subject: [PATCH] function is hashurl, variable is urlhash --- classes/File.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/File.php b/classes/File.php index 89dcf61cc5..a10403c49c 100644 --- a/classes/File.php +++ b/classes/File.php @@ -467,7 +467,7 @@ class File extends Managed_DataObject if (!empty($this->filename)) { // A locally stored file, so let's generate a URL for our instance. $url = self::url($this->filename); - if (self::urlhash($url) !== $this->urlhash) { + if (self::hashurl($url) !== $this->urlhash) { // For indexing purposes, in case we do a lookup on the 'url' field. // also we're fixing possible changes from http to https, or paths $this->updateUrl($url); -- 2.39.5