mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 02:14:45 +01:00
enclosed the tel_cell in '' s
This commit is contained in:
parent
c2a0f18808
commit
db984eec8c
@ -1293,7 +1293,7 @@
|
||||
$cid = $phpgw_setup->db->f("contact_id");
|
||||
$cvalu = $phpgw_setup->db->f("contact_value");
|
||||
if ($cvalu) {
|
||||
$update = "UPDATE phpgw_addressbook set tel_cell=" . $cvalu . " WHERE id=" . $cid;
|
||||
$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'";
|
||||
$db1->query($delete);
|
||||
|
@ -1555,7 +1555,7 @@
|
||||
$cid = $phpgw_setup->db->f("contact_id");
|
||||
$cvalu = $phpgw_setup->db->f("contact_value");
|
||||
if ($cvalu) {
|
||||
$update = "UPDATE phpgw_addressbook set tel_cell=" . $cvalu . " WHERE id=" . $cid;
|
||||
$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'";
|
||||
$db1->query($delete);
|
||||
|
Loading…
Reference in New Issue
Block a user