From 76a4fb3ff1dd450b31040973eb99cf834eb690a7 Mon Sep 17 00:00:00 2001 From: Domas Mituzas Date: Sat, 19 Feb 2005 12:41:18 +0000 Subject: [PATCH] someone forgot to add 'global'... :) fixing that! --- includes/Image.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/Image.php b/includes/Image.php index fac3364199..56d5ddfdaa 100644 --- a/includes/Image.php +++ b/includes/Image.php @@ -671,6 +671,7 @@ function wfImageArchiveDir( $fname , $subdir='archive', $shared=false ) { */ function wfGetHashPath ( $dbkey, $fromSharedDirectory = false ) { global $wgHashedSharedUploadDirectory, $wgSharedUploadDirectory; + global $wgHashedUploadDirectory; $ishashed = $fromSharedDirectory ? $wgHashedSharedUploadDirectory : $wgHashedUploadDirectory; -- 2.20.1