mirror of
https://github.com/ShaYmez/FreeSTAR-Status-Engine.git
synced 2024-11-08 04:26:00 -05:00
fix php error "needs to return an array"
This commit is contained in:
parent
e7a294ef42
commit
541555294b
@ -104,27 +104,12 @@ class Constellation
|
|||||||
}
|
}
|
||||||
if (!$admin)
|
if (!$admin)
|
||||||
{
|
{
|
||||||
?>
|
|
||||||
<script>
|
|
||||||
$(document).ready(function(){
|
|
||||||
$('[data-toggle="tooltip"]').tooltip();
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<?php
|
|
||||||
//echo '<div id="status-container" class="clearfix">';
|
|
||||||
//$arrCompletedGroups = array();
|
|
||||||
foreach($array as $service){
|
foreach($array as $service){
|
||||||
//print_r($service);
|
|
||||||
//if ( !empty($service->group_name) && !in_array($service->group_name, $arrCompletedGroups)) {
|
|
||||||
//print $service->name;
|
|
||||||
// $arrCompletedGroups[] = $service['group_name'];
|
|
||||||
// $service->render(true);
|
|
||||||
//} else {
|
|
||||||
$service->render();
|
$service->render();
|
||||||
//}
|
|
||||||
}
|
}
|
||||||
echo '</ul>';
|
echo '</ul>';
|
||||||
//echo '</div>';
|
return $array;
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
return $array;
|
return $array;
|
||||||
|
Loading…
Reference in New Issue
Block a user