mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
#13430 fix directory bug
This commit is contained in:
parent
f9bc334f18
commit
ea6d10c456
@ -75,8 +75,8 @@ if (isset($text) === false) {
|
||||
}
|
||||
|
||||
$directory = (string) get_parameter('directory');
|
||||
$directory = str_replace('<', '', $text);
|
||||
$directory = str_replace('>', '', $text);
|
||||
$directory = str_replace('<', '', $directory);
|
||||
$directory = str_replace('>', '', $directory);
|
||||
if (empty($directory) === true) {
|
||||
$directory = $fallback_directory;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user