Skip to content

Commit

Permalink
fix null exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Gargaj committed Nov 26, 2022
1 parent 9887272 commit 451fc6d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include_pouet/request-classes.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -904,6 +904,11 @@ static function Display($itemID, $data)
for ($x=1; $x<=96; $x++) $ranks[$x] = $x;

$prod = PouetProd::Spawn( $itemID );
if (!$prod)
{
printf("prod %d missing.");
exit();
}
$a = array(&$prod);
PouetCollectPlatforms( $a );

Expand Down

0 comments on commit 451fc6d

Please sign in to comment.