[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [owncloud/sharing] apps/files_sharing: fix problem with building
From:       Robin Appelman <icewind1991 () gmail ! com>
Date:       2011-08-16 22:34:37
Message-ID: 20110816223437.9F253A60A9 () git ! kde ! org
[Download RAW message or body]

Git commit 42ed3c6b7ecbbd3f60a100d0f065003b5cd83ff9 by Robin Appelman.
Committed on 17/08/2011 at 00:34.
Pushed by rappelman into branch 'sharing'.

fix problem with building the IN query

M  +1    -1    apps/files_sharing/lib_share.php

http://commits.kde.org/owncloud/42ed3c6b7ecbbd3f60a100d0f065003b5cd83ff9

diff --git a/apps/files_sharing/lib_share.php b/apps/files_sharing/lib_share.php
index a42fed3..a46a48b 100644
--- a/apps/files_sharing/lib_share.php
+++ b/apps/files_sharing/lib_share.php
@@ -112,7 +112,7 @@ class OC_Share {
 			}
 		} else if (isset($uid)) {
 			// TODO Check if this is necessary, only constructor needs it as IN. It would be \
                better for other queries to just return =$uid
-			$in = "'".$uid."'";
+			$in .= "'".$uid."'";
 			$groups = OC_Group::getUserGroups($uid);
 			foreach ($groups as $group) {
 				$in .= ", '".$uid."@".$group."'";


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic