diff --git a/Question.class.php b/Question.class.php
index 691c92e..dfbe638 100644
--- a/Question.class.php
+++ b/Question.class.php
@@ -93,7 +93,7 @@ class Question
return $qnode;
}
- public function isValidated()
+ public function validated()
{
$this->validated = true;
}
diff --git a/questions.php b/questions.php
index c7204bd..eac5e87 100755
--- a/questions.php
+++ b/questions.php
@@ -10,6 +10,9 @@ include("Question.class.php");
include("QuestionsFile.class.php");
+// Change this variable depending on the server
+$validationAddress = "http://178.170.101.82/~Cccompany/nemubot_askweb/validation.php?id=";
+
if (isset ($_POST['send']))
{
//Gets parameters: course, question and answers
@@ -57,7 +60,8 @@ if (isset ($_POST['send']))
$to = "bertrand.cournaud@gmail.com";
$subject = "[Nemubot] Validation d'une question";
$headers = "From: Nemubot
URL de validation:
- Valider la question
+ getId() ?>>Valider la question