Cancel button when adding a new poll column was not working
This commit is contained in:
parent
e493348931
commit
1afdce2c16
@ -49,6 +49,12 @@ $nblignes=count($object->fetch_lines());
|
||||
* Actions
|
||||
*/
|
||||
|
||||
//Return to the results
|
||||
if (GETPOST('retoursondage')) {
|
||||
header('Location: results.php?id='.$_GET['id']);
|
||||
die;
|
||||
}
|
||||
|
||||
$nbcolonnes = substr_count($object->sujet, ',') + 1;
|
||||
|
||||
// Add vote
|
||||
@ -467,7 +473,6 @@ print '<a class="butAction" href="exportcsv.php?id=' . $numsondage . '">'.$langs
|
||||
|
||||
print '</div>';
|
||||
|
||||
|
||||
// Add form to add a field
|
||||
if (GETPOST('ajoutsujet'))
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user