Nom du bouton en conflit avec une valeur du formulaire
This commit is contained in:
parent
6c0bfd0af7
commit
28187f207b
@ -133,7 +133,7 @@ if(isset($_REQUEST['action']))
|
||||
case 'privileges':
|
||||
if(!empty($_REQUEST['email']))
|
||||
{
|
||||
if (in_array('SprivSurv',$_REQUEST['privileges']['type'])){
|
||||
if ( in_array('SprivSurv',$_REQUEST['privileges']['type']) ){
|
||||
try {
|
||||
$O = $client->setSurveillance(
|
||||
$_REQUEST['siret'],$_REQUEST['email'],
|
||||
@ -146,7 +146,6 @@ if(isset($_REQUEST['action']))
|
||||
}
|
||||
$key = array_search('SprivSurv', $_REQUEST['privileges']['type']);
|
||||
if ($key!==FALSE) unset($_REQUEST['privileges']['type'][$key]);
|
||||
FB::log($_REQUEST['privileges']['type'], 'type');
|
||||
if (count($_REQUEST['privileges']['type'])>0){
|
||||
$privileges = join(', ', $_REQUEST['privileges']['type']);
|
||||
$privilegesLog = join('-', $_REQUEST['privileges']['type']);
|
||||
@ -424,7 +423,7 @@ if(!$disponible)
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label> </label>
|
||||
<div class="field"><input type="submit" name="privileges" value="Valider" class="button"></div>
|
||||
<div class="field"><input type="submit" name="submit" value="Valider" class="button"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user