From e28ef93c4fca1a0d15a1feb1ee7567f8a6e82892 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Thu, 19 Apr 2001 20:01:23 +0000 Subject: [PATCH] Fix doubling on transfer of data to new addressbook tables --- setup/sql/mysql_upgrade_beta.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/sql/mysql_upgrade_beta.inc.php b/setup/sql/mysql_upgrade_beta.inc.php index 2abdacaf3e..4b3a3e7cd6 100644 --- a/setup/sql/mysql_upgrade_beta.inc.php +++ b/setup/sql/mysql_upgrade_beta.inc.php @@ -1152,8 +1152,8 @@ while (list($name,$value) = each($extra)) { $sql = "INSERT INTO phpgw_addressbook_extra VALUES ('".$fields["id"]."','" . $$fields["owner"] . "','" . addslashes($name) . "','" . addslashes($value) . "')"; + $db2->query($sql,__LINE__,__FILE__); } - $db2->query($sql,__LINE__,__FILE__); } $phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre13'; }