check validation
This commit is contained in:
parent
0c4a45f1f5
commit
b056fee4d8
@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html>
|
||||
1;3001;0c<!DOCTYPE html>
|
||||
|
||||
<?php
|
||||
include("Question.class.php");
|
||||
@ -46,7 +46,7 @@ else
|
||||
<input type="button" value="Valider la question"
|
||||
onclick=
|
||||
"<?php
|
||||
if ($question->isValidated())
|
||||
if ($question->isValidated() == 1)
|
||||
{
|
||||
$message = 'Votre question à déjà été validée'
|
||||
. ' Merci de ne pas vous acharner.';
|
||||
|
Reference in New Issue
Block a user