cvs: php-news-web / article.php
| From: | Wez Furlong | Date: | Mon, 27 Dec 2004 15:42:11 +0000 |
| Subject: | cvs: php-news-web / article.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-26972@lists.php.net to get a copy of this message | ||
wez Mon Dec 27 10:42:11 2004 EDT
Modified files:
/php-news-web article.php
Log:
Ensure this is an int
http://cvs.php.net/diff.php/php-news-web/article.php?r1=1.27&r2=1.28&ty=u
Index: php-news-web/article.php
diff -u php-news-web/article.php:1.27 php-news-web/article.php:1.28
--- php-news-web/article.php:1.27 Wed Dec 22 17:39:19 2004
+++ php-news-web/article.php Mon Dec 27 10:42:10 2004
@@ -1,6 +1,7 @@
<?php
// vim:sw=2:ts=2:et
+$article = (int)$article;
if (!$article) die("no article specified");
require 'common.inc';