Skip to content

Commit

Permalink
BUGFIX #397 - Correction Fonction Galaxy Statistics pour Eviter Erreur
Browse files Browse the repository at this point in the history
  • Loading branch information
darknoon29 committed Sep 29, 2023
1 parent 6c4f3ea commit 320e2ad
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions includes/galaxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@
use Ogsteam\Ogspy\Helper\SearchCriteria_Helper;

/**
* Vérification des droits OGSpy
* Checks the authorization of a user for a specific action.
*
* @param string $action Droit interrogé
* @param string $action The action to check authorization for.
* @throws None
* @return None
*/

function galaxy_check_auth($action)
{
global $user_data, $user_auth;
Expand Down Expand Up @@ -404,6 +405,7 @@ function galaxy_statistic($step = 50)

$Universe_Model = new Universe_Model();

$statistics = array();

$nb_planets_total = 0;
$nb_freeplanets_total = 0;
Expand Down

0 comments on commit 320e2ad

Please sign in to comment.