Cours concerné : getCourse()->getName(); ?>
- Question posée : getQuestion(); ?>
+ Question posée : getQuestion(), ENT_COMPAT, "UTF-8"); ?>
Réponses valides exhaustives :
diff --git a/Question.class.php b/Question.class.php
index 9ed303b..ed6f456 100644
--- a/Question.class.php
+++ b/Question.class.php
@@ -124,6 +124,7 @@ class Question
public function validated()
{
$this->validated = true;
+ $this->reported = 0;
//Return to normal ID
$this->getNormalId();
diff --git a/changeQuestion.php b/changeQuestion.php
index a515975..b9f6f8f 100644
--- a/changeQuestion.php
+++ b/changeQuestion.php
@@ -24,13 +24,13 @@ else
if ($question->get_writer() != null)
{?>Proposée par : get_writer()->getUsername(); ?>
Cours concerné : getCourse()->getName(); ?>
- Question posée : getQuestion(); ?>
+ Question posée : getQuestion(), ENT_COMPAT, "UTF-8")); ?>
Réponses valides exhaustives :
@@ -64,7 +64,7 @@ foreach($cs as $c)
-
+
Cours concerné : getCourse()->getName(); ?>
diff --git a/list.php b/list.php
index 9d4ec7b..7b5e328 100644
--- a/list.php
+++ b/list.php
@@ -26,7 +26,7 @@ else
getCourse()->getCode(); ?>
- getQuestion(); ?>
+ getQuestion(), ENT_COMPAT, "UTF-8"); ?>
get_writer() != null) echo $q->get_writer()->getUsername(); ?>
getAddedTime()); ?>
get_validator() != null) echo $q->get_validator()->getUsername(); ?>
diff --git a/questions.php b/questions.php
old mode 100755
new mode 100644
diff --git a/validation.php b/validation.php
index 6e002c5..5668f17 100644
--- a/validation.php
+++ b/validation.php
@@ -21,13 +21,13 @@ else
?>
- Question posée : getQuestion(); ?>
+ Question posée : getQuestion(), ENT_COMPAT, "UTF-8"); ?>
Réponses valides exhaustives :