[php:connector] fix #1321 don't be trim of put contents

This commit is contained in:
nao-pon
2016-04-12 15:14:45 +09:00
parent f1c93d9135
commit 89cd10087b
+1 -1
View File
@@ -105,7 +105,7 @@ class elFinderConnector {
} else {
$arg = isset($src[$name])? $src[$name] : '';
if (!is_array($arg)) {
if (!is_array($arg) && $req !== '') {
$arg = trim($arg);
}
if ($req && $arg === '') {