Skip to content

Commit

Permalink
onusigcompressor: fixed incompatibility issues with PHP 5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
nightflyza committed Feb 4, 2025
1 parent 3098206 commit f2d36c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion RELEASE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.2 rev 9302
1.5.3 rev 9303
2 changes: 1 addition & 1 deletion api/libs/api.onusigcompressor.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ protected function filterDailyLogs($lines) {
$date = substr($timestamp, 0, 10); // YYYY-MM-DD date

if (!isset($logsByDate[$date])) {
$logsByDate[$date] = ["first" => $line, "last" => $line];
$logsByDate[$date] = array("first" => $line, "last" => $line);
} else {
$logsByDate[$date]["last"] = $line;
}
Expand Down

0 comments on commit f2d36c6

Please sign in to comment.