summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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