Cancel button when adding a new poll column was not working

This commit is contained in:
Marcos García de La Fuente 2014-01-05 20:34:43 +01:00
parent e493348931
commit 1afdce2c16

View File

@ -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'))
{