mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 20:31:31 +02:00
Fix ORG_Name field
This commit is contained in:
parent
2bd2c994b7
commit
3d02ca8f9e
@ -51,7 +51,7 @@
|
|||||||
// rework the following to be a simple sed style creation
|
// rework the following to be a simple sed style creation
|
||||||
$this->stock_contact_fields = array("FN" => "FN", //'firstname lastname'
|
$this->stock_contact_fields = array("FN" => "FN", //'firstname lastname'
|
||||||
"SOUND" => "SOUND",
|
"SOUND" => "SOUND",
|
||||||
"ORG.Name" => "ORG.Name", //company
|
"ORG_Name" => "ORG.Name", //company
|
||||||
"ORG_Unit" => "ORG.Unit", //division
|
"ORG_Unit" => "ORG.Unit", //division
|
||||||
"TITLE" => "TITLE",
|
"TITLE" => "TITLE",
|
||||||
"N_Given" => "N.Given", //firstname
|
"N_Given" => "N.Given", //firstname
|
||||||
@ -268,7 +268,7 @@
|
|||||||
if ($field_s == ",") {
|
if ($field_s == ",") {
|
||||||
unset($field_s);
|
unset($field_s);
|
||||||
}
|
}
|
||||||
$this->db->query("update contacts set owner='$owner', $fields_s where "
|
$this->db->query("update addressbook set owner='$owner', $fields_s where "
|
||||||
. "id='$id'",__LINE__,__FILE__);
|
. "id='$id'",__LINE__,__FILE__);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -277,7 +277,7 @@
|
|||||||
if (! $x_value) {
|
if (! $x_value) {
|
||||||
$this->delete_single_extra_field($id,$x_name);
|
$this->delete_single_extra_field($id,$x_name);
|
||||||
} else {
|
} else {
|
||||||
$this->db->query("update contacts_extra set contact_value='" . addslashes($x_value)
|
$this->db->query("update addressbook_extra set contact_value='" . addslashes($x_value)
|
||||||
. "',contact_owner='$owner' where contact_name='" . addslashes($x_name)
|
. "',contact_owner='$owner' where contact_name='" . addslashes($x_name)
|
||||||
. "' and contact_id='$id'",__LINE__,__FILE__);
|
. "' and contact_id='$id'",__LINE__,__FILE__);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user