diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-06-01 13:52:01 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-09-09 08:27:39 +0200 |
commit | 186b4495b625a40459618f01784b814a29f98ae0 (patch) | |
tree | 4662b40c7d4d64352ec8c57069808b68f481a48d /phpBB | |
parent | 8c2cbc0599b9d62fde730b2891c73c9c053682e7 (diff) | |
download | forums-186b4495b625a40459618f01784b814a29f98ae0.tar forums-186b4495b625a40459618f01784b814a29f98ae0.tar.gz forums-186b4495b625a40459618f01784b814a29f98ae0.tar.bz2 forums-186b4495b625a40459618f01784b814a29f98ae0.tar.xz forums-186b4495b625a40459618f01784b814a29f98ae0.zip |
[ticket/13904] Allow using factory for none files. classes
PHPBB3-13904
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/phpbb/files/factory.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |