mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
change deleted record to mphone, not url
This commit is contained in:
parent
9eb084831e
commit
4e399e95e5
@ -1295,7 +1295,7 @@
|
||||
if ($cvalu) {
|
||||
$update = "UPDATE phpgw_addressbook set tel_cell='" . $cvalu . "' WHERE id=" . $cid;
|
||||
$db1->query($update);
|
||||
$delete = "DELETE FROM phpgw_addressbook_extra WHERE contact_id=" . $cid . " AND contact_name='url'";
|
||||
$delete = "DELETE FROM phpgw_addressbook_extra WHERE contact_id=" . $cid . " AND contact_name='mphone'";
|
||||
$db1->query($delete);
|
||||
}
|
||||
}
|
||||
|
@ -1557,7 +1557,7 @@
|
||||
if ($cvalu) {
|
||||
$update = "UPDATE phpgw_addressbook set tel_cell='" . $cvalu . "' WHERE id=" . $cid;
|
||||
$db1->query($update);
|
||||
$delete = "DELETE FROM phpgw_addressbook_extra WHERE contact_id=" . $cid . " AND contact_name='url'";
|
||||
$delete = "DELETE FROM phpgw_addressbook_extra WHERE contact_id=" . $cid . " AND contact_name='mphone'";
|
||||
$db1->query($delete);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user