1
0

and more selftest fixes... ... ...

This commit is contained in:
2020-01-20 18:47:06 +01:00
parent 25b1c02a3f
commit 274257a015
2 changed files with 8 additions and 2 deletions

View File

@@ -5,6 +5,12 @@ require_once (__DIR__ . '/../internals/website.php');
/** @var URLRoute $ROUTE */ global $ROUTE;
/** @var Website $SITE */ global $SITE;
?>
<?php
if (!isset($API_OPTIONS['ulname'])) { $FRAME_OPTIONS->forceResult(400, "Wrong parameters."); return; }
$ulname = $API_OPTIONS['ulname'];
?>
<div class="stripedtable_container" style="width: 100%;">
<table class="stripedtable">
<thead>
@@ -15,7 +21,7 @@ require_once (__DIR__ . '/../internals/website.php');
</tr>
</thead>
<tbody>
<?php foreach ($SITE->modules->UpdatesLog()->getEntries($_GET['ulname'], 512) as $entry): ?>
<?php foreach ($SITE->modules->UpdatesLog()->getEntries($ulname, 512) as $entry): ?>
<tr>
<td><?php echo $entry['ip']; ?></td>
<td><?php echo $entry['version']; ?></td>