mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
Ensure that the string form value of 'access' is known and not a guess of a boolean
This commit is contained in:
parent
4aae93b598
commit
7c71fb9a08
@ -1443,7 +1443,6 @@
|
||||
$fields['adr_two_type'] = substr($typeb,0,-1);
|
||||
|
||||
$custom = $this->fields->read_custom_fields();
|
||||
// while(list($name,$val) = @each($custom))
|
||||
foreach($custom as $name => $val)
|
||||
{
|
||||
$fields[$val['name']] = $entry[$val['name']];
|
||||
@ -1455,7 +1454,7 @@
|
||||
$fields['note'] = $entry['notes'];
|
||||
$fields['label'] = $entry['label'];
|
||||
|
||||
if($entry['access'] == True)
|
||||
if($entry['access'] == 'True')
|
||||
{
|
||||
$fields['access'] = 'private';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user