summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2012-09-05 07:55:53 +0000
committerRomain d'Alverny <rda@mageia.org>2012-09-05 07:55:53 +0000
commita53ecba4956c1d652248a5d31de29b7b9d5b217e (patch)
treeb1f584204c1ef286367e55919b25cccd58b786b5
parent73b570268dc361eab6c013d11f9a490723834f38 (diff)
downloadpkgsubmit-a53ecba4956c1d652248a5d31de29b7b9d5b217e.tar
pkgsubmit-a53ecba4956c1d652248a5d31de29b7b9d5b217e.tar.gz
pkgsubmit-a53ecba4956c1d652248a5d31de29b7b9d5b217e.tar.bz2
pkgsubmit-a53ecba4956c1d652248a5d31de29b7b9d5b217e.tar.xz
pkgsubmit-a53ecba4956c1d652248a5d31de29b7b9d5b217e.zip
return missing param
-rw-r--r--lib.php1
-rw-r--r--test_index.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/lib.php b/lib.php
index da8bc4e..2fec295 100644
--- a/lib.php
+++ b/lib.php
@@ -144,6 +144,7 @@ function get_refined_packages_list($list_of_files, $package = null, $user = null
return array(
$pkgs,
$hosts,
+ $build_count,
$build_dates,
$buildtime_total
);
diff --git a/test_index.php b/test_index.php
index 2cb9ec9..a48d305 100644
--- a/test_index.php
+++ b/test_index.php
@@ -48,7 +48,7 @@ $date_gen = date('c');
$matches = get_submitted_packages($upload_dir, $max_modified);
echo 'debug:count:matches', count($matches), '<br>';
-list($pkgs, $hosts, $build_dates, $buildtime_total) = get_refined_packages_list(
+list($pkgs, $hosts, $build_count, $build_dates, $buildtime_total) = get_refined_packages_list(
$matches,
isset($_GET['package']) ? $_GET['package'] : null,
isset($_GET['user']) ? $_GET['user'] : null