Fix edition of pending surveys, Closes #1263
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Mon, 11 Oct 2010 08:59:16 +0000 (10:59 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Mon, 11 Oct 2010 12:53:18 +0000 (14:53 +0200)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
templates/survey/show_root.tpl

index 0b18177..667fcd0 100644 (file)
@@ -91,7 +91,7 @@
   {/if}
 </table>
 <p class="center">
-  {if $survey_editmode && !$survey_updatemode}
+  {if $smarty.session.survey_validate || ($survey_editmode && !$survey_updatemode)}
   <a href='survey/edit/valid'>
     {icon name=tick}
     Proposer ce sondage