[gosa.git] / gosa-plugins / opengroupware / personal / connectivity / opengroupware / class_opengwAccount.inc
diff --git a/gosa-plugins/opengroupware/personal/connectivity/opengroupware/class_opengwAccount.inc b/gosa-plugins/opengroupware/personal/connectivity/opengroupware/class_opengwAccount.inc
index 3fe61bed86d9ab2dff9330535b693887b10b8f1a..b52e7bd4d92f4a7f2dfde2efc98d6f30326562fb 100644 (file)
if($this->acl_is_readable("Teams")){
foreach($this->handle->validTeams as $id){
- if(in_array($id['company_id'],$this->info['TeamIDis'])){
+ if(in_array_strict($id['company_id'],$this->info['TeamIDis'])){
$str .= "<input ".$dis." type='checkbox' value='".$id['company_id']."'
checked name='team_".base64_encode($id['description'])."'>".$id['description']."<br>";
}else{
if($this->acl_is_writeable("Teams")) {
foreach($_POST as $name => $value ){
if(preg_match("/team_/i",$name)){
- if(!in_array($value,$this->info['TeamIDis'])){
+ if(!in_array_strict($value,$this->info['TeamIDis'])){
$this->info['TeamIDis'][]=$value;
}
}