diff --git a/www/pages/piecescmd.php b/www/pages/piecescmd.php index 54176d005..83db604d2 100644 --- a/www/pages/piecescmd.php +++ b/www/pages/piecescmd.php @@ -152,7 +152,7 @@ $(document).ready(function() $('input[type=radio][name=method]').each(function(){ if($(this).val()!=value) { $('#kbis'+$(this).val()).css('display', 'none'); } }); - if(value=='T'){ $(location).attr('href','./page=kbis&siret='); } + if(value=='T'){ $(location).attr('href','./?page=kbis&siret='); } else if(value=='M' || value=='C') { if($('#kbis'+value).css('display')=='none') $('#kbis'+value).css('display', 'inline'); }