cvs: php-news-web / article.php
| From: | Jim Winstead | Date: | Sun, 08 Jul 2001 20:36:43 +0000 |
| Subject: | cvs: php-news-web / article.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-5380@lists.php.net to get a copy of this message | ||
jimw Sun Jul 8 16:36:43 2001 EDT
Modified files:
/php-news-web article.php
Log:
start count at 1
Index: php-news-web/article.php
diff -u php-news-web/article.php:1.9 php-news-web/article.php:1.10
--- php-news-web/article.php:1.9 Sun Jul 8 16:36:15 2001
+++ php-news-web/article.php Sun Jul 8 16:36:42 2001
@@ -75,7 +75,7 @@
$ref = $headers["references"] ? $headers["references"] :
$headers["in-reply-to"];
echo '<td class="headerlabel">References:</td><td
class="headervalue">';
$r = explode(" ", $ref);
- $c = 0;
+ $c = 1;
while (list($k,$v) = each($r)) {
if (!$v) continue;
if (!preg_match("/^<.+>\$/", $v)) continue;