From 006990f1d039e46cb91520211e0282ec5d7fb717 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rub=C3=A9n=20Calvo?= <rubencm@gmail.com>
Date: Tue, 8 Aug 2017 12:32:23 +0200
Subject: [PATCH] [ticket/15276] Fix file_info errors

PHPBB3-15276
---
 phpBB/phpbb/storage/file_info.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/phpBB/phpbb/storage/file_info.php b/phpBB/phpbb/storage/file_info.php
index f78bc88d10..c0b5256f33 100644
--- a/phpBB/phpbb/storage/file_info.php
+++ b/phpBB/phpbb/storage/file_info.php
@@ -43,7 +43,7 @@ class file_info
 
 	public function get($name)
 	{
-		$this->fill_properties();
+		$this->fill_properties($this->path);
 
 		if (!isset($this->properties[$name]))
 		{
@@ -52,7 +52,7 @@ class file_info
 				throw new not_implemented();
 			}
 
-			$this->properties[$name] = call_user_func($this->adapter, 'file_' . $name);
+			$this->properties[$name] = call_user_func([$this->adapter, 'file_' . $name], $this->path);
 		}
 
 		return $this->properties[$name];