Skip to content

Commit

Permalink
use ints
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Gonzalez Labrador committed Jan 18, 2021
1 parent 0bab995 commit e050041
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions controller/pagecontroller.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ private function loadSettings(){
$result = $query->execute();
$row = $result->fetch();
$result->closeCursor();
$row['numusers'] = intval($row['numusers']);
$row['numfiles'] = intval($row['numfiles']);
$row['numstorage'] = intval($row['numstorage']);
return $row;
}

Expand Down

0 comments on commit e050041

Please sign in to comment.