projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote branch 'origin/xorg/maint' into xorg/master
[platal.git]
/
modules
/
survey
/
survey.inc.php
diff --git
a/modules/survey/survey.inc.php
b/modules/survey/survey.inc.php
index
865a148
..
7e715fd
100644
(file)
--- a/
modules/survey/survey.inc.php
+++ b/
modules/survey/survey.inc.php
@@
-104,6
+104,12
@@
class Survey extends PlDBTableEntry implements SurveyQuestionContainer
}
}
+ public function clearQuestions()
+ {
+ $this->fetchQuestions = true;
+ $this->questions = array();
+ }
+
public function addQuestion(SurveyQuestion $question, $pos = null)
{
$question->parent = null;