diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-06-24 16:45:00 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-06-24 16:45:00 +0200 |
commit | 004280e407beca36bfc64640f9ebeb42e40a4cd7 (patch) | |
tree | 6384d18dcd77b5c2378e79e8b7dc756b9f3433eb /lib | |
parent | 1e7a3a4b3bd54cd8c55e5d88e79d3a20ccb26e80 (diff) | |
parent | 6c3da1ec90638a865a735e520493e3b4ec6eb8d9 (diff) | |
download | nextcloud-server-004280e407beca36bfc64640f9ebeb42e40a4cd7.tar.gz nextcloud-server-004280e407beca36bfc64640f9ebeb42e40a4cd7.zip |
Merge pull request #17136 from rullzer/fix_remove_link_OCS
Allow removing of link password in OCS again
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/share/share.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/share/share.php b/lib/private/share/share.php index 027c518f9f1..954071fdd6c 100644 --- a/lib/private/share/share.php +++ b/lib/private/share/share.php @@ -1220,7 +1220,7 @@ class Share extends Constants { $qb->update('`*PREFIX*share`') ->set('`share_with`', ':pass') ->where('`id` = :shareId') - ->setParameter(':pass', is_null($password) ? 'NULL' : \OC::$server->getHasher()->hash($password)) + ->setParameter(':pass', is_null($password) ? null : \OC::$server->getHasher()->hash($password)) ->setParameter(':shareId', $shareId); $qb->execute(); |