From c2c2ce319277be9aaecbb4b72f64e45ad7563840 Mon Sep 17 00:00:00 2001 From: Romain d'Alverny Date: Mon, 26 Dec 2011 12:44:24 +0000 Subject: fix txt format for package --- maintdb.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'maintdb.php') diff --git a/maintdb.php b/maintdb.php index ab334c4..77a38ca 100644 --- a/maintdb.php +++ b/maintdb.php @@ -59,7 +59,7 @@ if (null !== $uid) { } } elseif (null !== $pkg) { if (preg_match_all(sprintf('/%s (.*)\n?/', $pkg), $s, $res)) { - $return = array($res[1][0] => $pkg); + $return = sprintf('%s %s', $res[1][0], $pkg); } } @@ -76,6 +76,6 @@ else { } } } else { - echo ""; + echo $return; } } \ No newline at end of file -- cgit v1.2.1