mirror of
https://github.com/ShaYmez/FreeSTAR-Status-Engine.git
synced 2024-11-23 04:38:37 -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)
|
||||
{
|
||||
?>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$('[data-toggle="tooltip"]').tooltip();
|
||||
});
|
||||
</script>
|
||||
<?php
|
||||
//echo '<div id="status-container" class="clearfix">';
|
||||
//$arrCompletedGroups = array();
|
||||
|
||||
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();
|
||||
//}
|
||||
}
|
||||
echo '</ul>';
|
||||
//echo '</div>';
|
||||
return $array;
|
||||
}
|
||||
else{
|
||||
return $array;
|
||||
|
Loading…
Reference in New Issue
Block a user