1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/15253] Fix code

PHPBB3-15253
This commit is contained in:
Rubén Calvo
2017-06-28 13:33:19 +02:00
parent a01d33b1fa
commit 436410761d
2 changed files with 2 additions and 18 deletions

View File

@@ -17,7 +17,6 @@ use Symfony\Component\Filesystem\Filesystem as symfony_filesystem;
class helper
{
/**
* @var \Symfony\Component\Filesystem\Filesystem
*/
@@ -234,7 +233,7 @@ class helper
$path = str_replace(DIRECTORY_SEPARATOR, '/', $path);
}
trim ($path, '/');
trim($path, '/');
$path_parts = explode('/', $path);
$resolved = array();
$resolved_path = $prefix;
@@ -366,7 +365,7 @@ class helper
}
}
return ($return_array) ? $resolved : $resolved_path;
return $return_array ? $resolved : $resolved_path;
}
/**