diff --git a/setup/sql/mysql_upgrade_beta.inc.php b/setup/sql/mysql_upgrade_beta.inc.php index ebe46a3b80..ee4b79a1d4 100644 --- a/setup/sql/mysql_upgrade_beta.inc.php +++ b/setup/sql/mysql_upgrade_beta.inc.php @@ -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); diff --git a/setup/sql/pgsql_upgrade_beta.inc.php b/setup/sql/pgsql_upgrade_beta.inc.php index d3863dcb0a..3c75a92887 100644 --- a/setup/sql/pgsql_upgrade_beta.inc.php +++ b/setup/sql/pgsql_upgrade_beta.inc.php @@ -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);