From: centaurix Date: Thu, 27 Jun 2002 13:25:55 +0000 (+0000) Subject: upgraded to version 1.4 and debugged X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=d55c0f66fc0f73d886fc2040936a28d7a17fa1ea upgraded to version 1.4 and debugged git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3021 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/plugins/abook_take/setup.php b/plugins/abook_take/setup.php index 7659d814..0fb52eb8 100755 --- a/plugins/abook_take/setup.php +++ b/plugins/abook_take/setup.php @@ -1,5 +1,7 @@ ' . $chances[$i] . - // '' . "\n"; - echo "\n"; - $abook_found_email[$chances[$i]] = 1; - } - $i ++; + $str = substr(strstr($str, $hits[0]), strlen($hits[0])); + if (! isset($abook_found_email[$hits[0]])) + { + echo "\n"; + $abook_found_email[$hits[0]] = 1; + } } + return; } diff --git a/plugins/abook_take/take.php b/plugins/abook_take/take.php index a72c6faa..964c2c8d 100644 --- a/plugins/abook_take/take.php +++ b/plugins/abook_take/take.php @@ -1,4 +1,3 @@ - ' . htmlspecialchars($Val) . "\n"; } + else + { + echo '\n"; + } } echo "\n";