From b2b1f7bca2204358a609f1948c128f06b33a7264 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Sun, 11 Mar 2001 06:00:16 +0000 Subject: [PATCH] Rename "Debug MySQL" to "Debug SQL" and fix table name --- addressbook/conv/{Debug MySQL => Debug SQL} | 2 +- addressbook/conv/Import to Addressbook (MySQL) | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) rename addressbook/conv/{Debug MySQL => Debug SQL} (98%) diff --git a/addressbook/conv/Debug MySQL b/addressbook/conv/Debug SQL similarity index 98% rename from addressbook/conv/Debug MySQL rename to addressbook/conv/Debug SQL index e086d6b6c5..d46daf3077 100644 --- a/addressbook/conv/Debug MySQL +++ b/addressbook/conv/Debug SQL @@ -150,7 +150,7 @@ function outlook_end_record($buffer,$private="private") { $thisname=""; $thisvalu=""; } - $namelist = $namelist."\nINSERT INTO addressbook (owner,".$thisname; + $namelist = $namelist."\nINSERT INTO phpgw_addressbook (owner,".$thisname; $valulist = $valulist."VALUES ('".$phpgw_info["user"]["account_id"]."',".$thisvalu; } elseif ($row==count($lines)-1) { if (!empty($name) && !empty($value)) { diff --git a/addressbook/conv/Import to Addressbook (MySQL) b/addressbook/conv/Import to Addressbook (MySQL) index 181070370b..37e1ee57e5 100644 --- a/addressbook/conv/Import to Addressbook (MySQL) +++ b/addressbook/conv/Import to Addressbook (MySQL) @@ -147,6 +147,7 @@ function outlook_end_record($buffer,$private="private") { list($name, $value) = split("%%",$lines[$i]); $row++; $namelist .= array($name => $value); + echo $name.' '.$value; } return $buffer.$namelist;