From a6cf020639949b8ce915a904aa850fd5db7b2fa1 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Sun, 7 Mar 2021 10:30:04 +0100 Subject: [PATCH] [ticket/15699] Adjust validate path for removed method PHPBB3-15699 --- phpBB/includes/acp/acp_storage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/acp/acp_storage.php b/phpBB/includes/acp/acp_storage.php index e575079ff3..2ec086a232 100644 --- a/phpBB/includes/acp/acp_storage.php +++ b/phpBB/includes/acp/acp_storage.php @@ -605,7 +605,7 @@ class acp_storage { if ($this->provider_collection->get_by_class($this->get_current_provider($storage_name))->get_name() == 'local' && isset($options['path'])) { - $path = $this->request->is_set_post('submit') ? $this->get_new_definition($storage_name, 'path') : $this->get_current_definition($storage_name, 'path'); + $path = $this->request->is_set_post('submit') ? $this->request->variable([$storage_name, 'path'], '') : $this->get_current_definition($storage_name, 'path'); if (empty($path)) {