diff --git a/html/ajax.php b/html/ajax.php
index 9c99807f6..3d2142118 100644
--- a/html/ajax.php
+++ b/html/ajax.php
@@ -5,7 +5,7 @@
* The code (of the plugin) is required
* Required variable in $_REQUEST
* - gDossier
- * - code
+ * - plugin_code
*/
require_once('class_database.php');
require_once('class_user.php');
@@ -17,10 +17,10 @@ $user=new User($cn);
$user->check(true);
/* if a code has been asked */
-if (isset($_REQUEST['code']) ) {
+if (isset($_REQUEST['plugin_code']) ) {
$ext=new Extension($cn);
- $ext->search('code',$_REQUEST['code']);
+ $ext->search('code',$_REQUEST['plugin_code']);
if ( $ext->get_parameter('id') != 0 ) {
/* security */
if ( !isset ($_SESSION['g_user']) || $ext->can_request($_SESSION['g_user']) == 0 ) {
diff --git a/html/extension.php b/html/extension.php
index d74fed951..dd0b79c5b 100644
--- a/html/extension.php
+++ b/html/extension.php
@@ -73,16 +73,16 @@ echo <<value=Extension::make_array($cn);
-$a->selected=(isset($_REQUEST['code']))?strtoupper($_REQUEST['code']):'';
+$a->selected=(isset($_REQUEST['plugin_code']))?strtoupper($_REQUEST['plugin_code']):'';
/* no plugin available */
if ( count($a->value) == 0 ) {alert(j(_("Aucune extension disponible")));exit;}
/* only one plugin available then we don't propose a choice*/
if ( count($a->value)==1 ) {
- $_REQUEST['code']=$a->value[0]['value'];
+ $_REQUEST['plugin_code']=$a->value[0]['value'];
} else {
echo '