mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 23:37:39 +02:00
[ticket/15699] Adjust validate path for removed method
PHPBB3-15699
This commit is contained in:
committed by
Ruben Calvo
parent
43b402a7da
commit
a6cf020639
@@ -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']))
|
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))
|
if (empty($path))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user