From fdb75ed4437620df6a30e79b2920e18c79201edc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Calvo?= Date: Thu, 3 Aug 2017 19:29:42 +0200 Subject: [PATCH] [ticket/15289] Use config global PHPBB3-15289 --- phpBB/adm/style/acp_storage.html | 2 +- phpBB/includes/acp/acp_storage.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/phpBB/adm/style/acp_storage.html b/phpBB/adm/style/acp_storage.html index 5ae39cea48..7597d338eb 100644 --- a/phpBB/adm/style/acp_storage.html +++ b/phpBB/adm/style/acp_storage.html @@ -36,7 +36,7 @@
{% set input_type = options['type'] %} {% set input_name = storage.get_name ~ '[' ~ name ~ ']' %} - {% set input_value = attribute(CONFIG, 'storage\\' ~ storage.get_name ~ '\\config\\' ~ name) %} + {% set input_value = attribute(config, 'storage\\' ~ storage.get_name ~ '\\config\\' ~ name) %} {% if input_type == 'text' or diff --git a/phpBB/includes/acp/acp_storage.php b/phpBB/includes/acp/acp_storage.php index a7a205d5ef..5077e87241 100644 --- a/phpBB/includes/acp/acp_storage.php +++ b/phpBB/includes/acp/acp_storage.php @@ -155,7 +155,6 @@ class acp_storage $this->template->assign_vars(array( 'STORAGES' => $this->storage_collection, 'PROVIDERS' => $this->provider_collection, - 'CONFIG' => $this->config )); } }