Skip to content

Commit

Permalink
Merge pull request #103 from internetarchive/hot-fix
Browse files Browse the repository at this point in the history
Update pagefunctions.php
  • Loading branch information
cyberpower678 authored Sep 20, 2023
2 parents c76e157 + b54145a commit f0d442b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/html/Includes/pagefunctions.php
Original file line number Diff line number Diff line change
Expand Up @@ -3256,6 +3256,7 @@ function loadStats( &$jsonOut = [] ) {
$jsonOut['statistics'] = $tsv;
break;
case 'flat':
$keys = [];
while( $result = $res->fetch_assoc() ) {
if( !isset( $jsonOut['result'] ) ) $jsonOut['result'] = 'success';
$jsonOut['statistics'][$result['stat_wiki']][$result['stat_timestamp']][$result['stat_key']] =
Expand Down

0 comments on commit f0d442b

Please sign in to comment.