summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--maintdb.php4
1 files changed, 2 insertions, 2 deletions
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