do not send null value when string is expected
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
30c44e1d24
commit
d577076457
|
@ -222,8 +222,8 @@ class OC_Mount_Config {
|
||||||
/** @var IConfigHandler[] $handlers */
|
/** @var IConfigHandler[] $handlers */
|
||||||
$handlers = $backendService->getConfigHandlers();
|
$handlers = $backendService->getConfigHandlers();
|
||||||
foreach ($handlers as $handler) {
|
foreach ($handlers as $handler) {
|
||||||
if ($handler instanceof UserContext) {
|
if ($handler instanceof UserContext && $userId !== null) {
|
||||||
$handler->setUser($user);
|
$handler->setUserId($userId);
|
||||||
}
|
}
|
||||||
$input = $handler->handle($input);
|
$input = $handler->handle($input);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue