From 3c3129c50c9beb6362651fec18e32c200906ba8f Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Mon, 20 Feb 2012 23:09:18 +0000 Subject: Simplify, the reason why preg_match_all didn't work was because it wanted matches parameter --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index b7a1f69..c6313e9 100644 --- a/index.php +++ b/index.php @@ -321,7 +321,7 @@ if (!is_null($g_user) || $_GET['package']) if (!$_GET['package']) { -$missing_deps_count = preg_match_all("//m", strtr(file_get_contents("http://check.mageia.org/cauldron/dependencies.rss"), "\n", " "), $matches); +$missing_deps_count = preg_match_all("//m", file_get_contents("http://check.mageia.org/cauldron/dependencies.rss"), $matches); $unmaintained_count = count(file(__DIR__ . '/data/unmaintained.txt')); if ($missing_deps_count > 0 || $unmaintained_count > 0) { echo "

"; -- cgit v1.2.1