jome Sat Oct 29 05:08:49 2005 EDT
Modified files:
/phpdoc/en/reference/imap/functions imap-thread.xml
Log:
Fixed code typo
http://cvs.php.net/diff.php/phpdoc/en/reference/imap/functions/imap-thread.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/imap/functions/imap-thread.xml
diff -u phpdoc/en/reference/imap/functions/imap-thread.xml:1.5
phpdoc/en/reference/imap/functions/imap-thread.xml:1.6
--- phpdoc/en/reference/imap/functions/imap-thread.xml:1.5 Wed Sep 1
05:14:59 2004
+++ phpdoc/en/reference/imap/functions/imap-thread.xml Sat Oct 29 05:08:45 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/imap.xml, last change in rev 1.58 -->
<refentry id='function.imap-thread'>
<refnamediv>
@@ -47,7 +47,7 @@
$nntp = imap_open('{news.example.com:119/nntp}some.newsgroup', '', '');
$threads = imap_thread($nntp);
-foreach ($thread as $key => $val) {
+foreach ($threads as $key => $val) {
$tree = explode('.', $key);
if ($tree[1] == 'num') {
$header = imap_headerinfo($nntp, $val);