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
|
* Actions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
//Return to the results
|
||||||
|
if (GETPOST('retoursondage')) {
|
||||||
|
header('Location: results.php?id='.$_GET['id']);
|
||||||
|
die;
|
||||||
|
}
|
||||||
|
|
||||||
$nbcolonnes = substr_count($object->sujet, ',') + 1;
|
$nbcolonnes = substr_count($object->sujet, ',') + 1;
|
||||||
|
|
||||||
// Add vote
|
// Add vote
|
||||||
@ -467,7 +473,6 @@ print '<a class="butAction" href="exportcsv.php?id=' . $numsondage . '">'.$langs
|
|||||||
|
|
||||||
print '</div>';
|
print '</div>';
|
||||||
|
|
||||||
|
|
||||||
// Add form to add a field
|
// Add form to add a field
|
||||||
if (GETPOST('ajoutsujet'))
|
if (GETPOST('ajoutsujet'))
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user