Module: website Branch: master Commit: aed971d3bd679f5dd5d7fc8e296bc0d6b4c39a50 URL: http://source.winehq.org/git/website.git/?a=commit;h=aed971d3bd679f5dd5d7fc8...
Author: Jeremy Newman jnewman@codeweavers.com Date: Thu Jan 8 11:14:24 2009 -0600
fix for prev/next news page links
---
include/plugins/news.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/plugins/news.php b/include/plugins/news.php index bda5eef..2606b4e 100644 --- a/include/plugins/news.php +++ b/include/plugins/news.php @@ -13,7 +13,7 @@ global $html, $config; switch (true) { // single issue view - case (defined('PAGE_PARAMS') and preg_match("/[0-9]+/", PAGE_PARAMS)): + case (defined('PAGE_PARAMS') and preg_match("/[0-9]{10}/", PAGE_PARAMS)): // get data from XML file $item = PAGE_PARAMS . '.xml'; $vars = array();