set $share to null if getShareByToken() failed
This commit is contained in:
parent
e9a9af3493
commit
f17ad18865
1 changed files with 1 additions and 1 deletions
|
@ -979,7 +979,7 @@ class Manager implements IManager {
|
|||
try {
|
||||
$share = $provider->getShareByToken($token);
|
||||
} catch (ShareNotFound $e) {
|
||||
//Ignore
|
||||
$share = null;
|
||||
}
|
||||
|
||||
// If it is not a link share try to fetch a federated share by token
|
||||
|
|
Loading…
Reference in a new issue