summaryrefslogtreecommitdiffstats
path: root/test_index.php
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2012-09-09 22:01:39 +0000
committerRomain d'Alverny <rda@mageia.org>2012-09-09 22:01:39 +0000
commitc18473f9b74747b692bf356888811c69841602ad (patch)
tree65e01297c5001101ba3c5cc42e39702ed267be22 /test_index.php
parent1e02e816c6ff4ea9f655511652ce76ff5b64f49c (diff)
downloadpkgsubmit-c18473f9b74747b692bf356888811c69841602ad.tar
pkgsubmit-c18473f9b74747b692bf356888811c69841602ad.tar.gz
pkgsubmit-c18473f9b74747b692bf356888811c69841602ad.tar.bz2
pkgsubmit-c18473f9b74747b692bf356888811c69841602ad.tar.xz
pkgsubmit-c18473f9b74747b692bf356888811c69841602ad.zip
fix warnings (undeclared/unset vars)
Diffstat (limited to 'test_index.php')
-rw-r--r--test_index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/test_index.php b/test_index.php
index c54f468..cfe9fdf 100644
--- a/test_index.php
+++ b/test_index.php
@@ -229,7 +229,7 @@ if ($total > 0) {
}
}
$typestr = $p['type'];
- if ($p['status']['build']) {
+ if (isset($p['status']['build'])) {
$typealt = 'Building on';
foreach ($p['status']['build'] as $h) {
$typealt .= " $h";