diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2015-11-09 15:52:17 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2015-11-09 15:52:17 +0100 |
commit | 402e0afbc51b08427eb8e43d0377422fa684a623 (patch) | |
tree | ad85e106b46208205dd8887362c5dcec5cc3f754 /lib/private/share | |
parent | 37c5edc20211861297c50f59cbe26bdc5d3b1970 (diff) | |
download | nextcloud-server-402e0afbc51b08427eb8e43d0377422fa684a623.tar.gz nextcloud-server-402e0afbc51b08427eb8e43d0377422fa684a623.zip |
Fix Error message when sharing outside of group
For #19788
Diffstat (limited to 'lib/private/share')
-rw-r--r-- | lib/private/share/share.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/share/share.php b/lib/private/share/share.php index 0693a9c08fb..4503818a9ec 100644 --- a/lib/private/share/share.php +++ b/lib/private/share/share.php @@ -697,8 +697,8 @@ class Share extends Constants { if (empty($inGroup)) { $message = 'Sharing %s failed, because the user ' .'%s is not a member of any groups that %s is a member of'; - $message_t = $l->t('Sharing %s failed, because the user %s is not a member of any groups that %s is a member of', array($itemSourceName, $shareWith, $uidOwner)); - \OCP\Util::writeLog('OCP\Share', sprintf($message, $itemSourceName, $shareWith, $uidOwner), \OCP\Util::DEBUG); + $message_t = $l->t('Sharing %s failed, because the user %s is not a member of any groups that %s is a member of', array($itemName, $shareWith, $uidOwner)); + \OCP\Util::writeLog('OCP\Share', sprintf($message, $itemName, $shareWith, $uidOwner), \OCP\Util::DEBUG); throw new \Exception($message_t); } } |