fix group sql generator in calendar's share lib
This commit is contained in:
parent
71b32f7ad4
commit
179bf15daf
|
@ -155,11 +155,7 @@ class OC_Calendar_Share{
|
|||
$group_where = '';
|
||||
$i = 0;
|
||||
foreach($groups as $group){
|
||||
if($i == 0){
|
||||
$group_where = 'OR (';
|
||||
}else{
|
||||
$group_where .= ' OR ';
|
||||
}
|
||||
$group_where .= ' (share = "' . $group . '" AND sharetype = "group") ';
|
||||
$i++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue