From 1d686fecb54fa8074be964fbe5d9d0d078eea8d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Calvo?= Date: Tue, 12 Jun 2018 00:21:51 +0200 Subject: [PATCH] [ticket/15342] Fix parameter that could be null PHPBB3-15342 --- phpBB/phpbb/storage/storage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/phpbb/storage/storage.php b/phpBB/phpbb/storage/storage.php index 833e398ba4..91f08c50f4 100644 --- a/phpBB/phpbb/storage/storage.php +++ b/phpBB/phpbb/storage/storage.php @@ -295,7 +295,7 @@ class storage */ public function file_info($path) { - return new file_info($this->adapter, $path); + return new file_info($this->get_adapter(), $path); } /**