[Pkg-owncloud-commits] [owncloud] 121/205: ne need to check twice if $row['share_with'] is set

David Prévot taffit at moszumanska.debian.org
Thu Jul 2 17:37:03 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit a288d0eea36331703bf1d6e48b4bbe3e0b98e4b2
Author: Bjoern Schiessle <schiessle at owncloud.com>
Date:   Thu Jun 25 12:14:46 2015 +0200

    ne need to check twice if $row['share_with'] is set
---
 lib/private/share/share.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/private/share/share.php b/lib/private/share/share.php
index 87000ca..e493228 100644
--- a/lib/private/share/share.php
+++ b/lib/private/share/share.php
@@ -1705,7 +1705,7 @@ class Share extends Constants {
 			// Add display names to result
 			$row['share_with_displayname'] = $row['share_with'];
 			if ( isset($row['share_with']) && $row['share_with'] != '' &&
-				isset($row['share_with']) && $row['share_type'] === self::SHARE_TYPE_USER) {
+				$row['share_type'] === self::SHARE_TYPE_USER) {
 				$row['share_with_displayname'] = \OCP\User::getDisplayName($row['share_with']);
 			} else if(isset($row['share_with']) && $row['share_with'] != '' &&
 				$row['share_type'] === self::SHARE_TYPE_REMOTE) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list