Index: irpg/trunk/htdocs/playerview.php
===================================================================
--- irpg/trunk/htdocs/playerview.php	(revision 1563)
+++ irpg/trunk/htdocs/playerview.php	(revision 4283)
@@ -10,5 +10,6 @@
     
     $irpg_page_title = "Joueur: " . htmlentities($_GET['player']);
-    $showmap = $_GET['showmap'];
+    $showmap = isset($_GET['showmap'])?$_GET['showmap']:false;
+    $allmods = isset($_GET['allmods'])?$_GET['allmods']:false;
     
     include("header.php");
@@ -127,7 +128,7 @@
         if (!is_null($temp) && count($temp)) {
             echo('<h2>');
-            echo $_GET['allmods']!=1?"Derni&egrave;res ":"";
+            echo (!$allmods)?"Derni&egrave;res ":"";
             echo('Modifications d\'Horlorge</h2><p>');
-            if ($_GET['allmods'] == 1 || count($temp) < 6) {
+            if ($allmods == 1 || count($temp) < 6) {
                 foreach ($temp as $line) {
                     $line=htmlentities(trim($line));
@@ -145,8 +146,8 @@
             }
         }
-        if ($_GET['allmods'] != 1 && count($temp) > 5) {
+        if ($allmods != 1 && count($temp) > 5) {
 ?>
       <br />
-      [<a href="<?php echo $_SERVER['PHP_SELF']."?player=".urlencode($user);?>&amp;allmods=1">Voir toutes les modifications</a> (<?=count($temp)?>)]
+      [<a href="<?php echo $_SERVER['PHP_SELF']."?player=".urlencode($user);?>&amp;allmods=1">Voir toutes les modifications</a> (<?php echo count($temp)?>)]
       </p>
 <?php
