Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerRuff-TX1 committed Aug 14, 2021
1 parent 0d9e528 commit e605c20
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions classes/util/array.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

namespace ice;
class Util_Array{
/*
* Util_Array::buildActiveArray($conf)
Expand All @@ -11,10 +11,10 @@ class Util_Array{
*/
public static function buildActiveArray($conf){
$active = array();
for($i = 0; $i <= $conf->max; $i++){
for($i = 0; $i <= $conf['max']; $i++){
$e = '';
if(isset($conf->page)):
if($i == $conf->page){
if(isset($conf['page'])):
if($i == $conf['page']){
$e = ' active';
}
endif;
Expand Down

0 comments on commit e605c20

Please sign in to comment.