Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Use array initialization compatible with php < 5.4
We now use array() instead of [] for array initialization as
this solves problems on older distributions,
namely on Ubuntu 12.04 and SLE11SP4
  • Loading branch information
pstorz authored and fbergkemper committed Sep 11, 2017
1 parent a14677a commit 331e63f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/Job/src/Job/Model/JobModel.php
Expand Up @@ -286,7 +286,7 @@ public function getJobTotals(&$bsock=null)
public function getRunningJobsStatistics(&$bsock = null) {
if(isset($bsock)) {

$jobstats = [];
$jobstats = array();
$i = 0;

// GET RUNNING JOBS
Expand Down

0 comments on commit 331e63f

Please sign in to comment.