Skip to content
This repository has been archived by the owner on Apr 27, 2022. It is now read-only.

Commit

Permalink
Perbaiki masalah kompatibilitas karena menggunakan inisialisasi array…
Browse files Browse the repository at this point in the history
… dengan []
  • Loading branch information
dikisiswanto committed Apr 2, 2019
1 parent e5474b6 commit 957ec1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion commons/paging.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<?php $paging_page ? $paging_page : $paging_page = 'arsip' ?>
<?php
if ($paging_page == 'arsip') {
$pages = [];
$pages = array();
for($i=$paging->start_link; $i<=$paging->end_link; $i++) {
array_push($pages, $i);
}
Expand Down
2 changes: 1 addition & 1 deletion partials/komentar.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<?php if(is_array($komentar)) : ?>
<?php
$k = [];
$k = array();
foreach ($komentar as $data) {
if ($data['enabled'] == 1) {
array_push($k, $data);
Expand Down

0 comments on commit 957ec1e

Please sign in to comment.