From 186b4495b625a40459618f01784b814a29f98ae0 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Mon, 1 Jun 2015 13:52:01 +0200 Subject: [PATCH] [ticket/13904] Allow using factory for none files. classes PHPBB3-13904 --- phpBB/phpbb/files/factory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/phpbb/files/factory.php b/phpBB/phpbb/files/factory.php index 508c50c6ce..b28a7ab659 100644 --- a/phpBB/phpbb/files/factory.php +++ b/phpBB/phpbb/files/factory.php @@ -42,7 +42,7 @@ class factory { $service = false; - $name = (strpos($name, 'files.') === false) ? 'files.' . $name : $name; + $name = (strpos($name, 'files.') === false && strpos($name, '.') === false) ? 'files.' . $name : $name; try {