Fixed broken inventory.php page.