Bugfix [ 940008 ] error deleting parts of a survey in 6.0.1 (Thanks to
Andreas Sexauer.)
This commit is contained in:
parent
a293678acd
commit
d0fb8d5ab7
2 changed files with 3 additions and 1 deletions
|
|
@ -25,6 +25,8 @@
|
|||
- Bugfix [ 943298 ] Events Calendar recurrence error in WG6.0 (thanks to
|
||||
Frank Dillon).
|
||||
- Bugfix [ 942865 ] urlizedTitle problem. (Thanks to tr0nd).
|
||||
- Bugfix [ 940008 ] error deleting parts of a survey in 6.0.1 (Thanks to
|
||||
Andreas Sexauer.)
|
||||
|
||||
|
||||
6.0.1
|
||||
|
|
|
|||
|
|
@ -436,7 +436,7 @@ sub www_deleteAnswer {
|
|||
#-------------------------------------------------------------------
|
||||
sub www_deleteAnswerConfirm {
|
||||
return WebGUI::Privilege::insufficient() unless (WebGUI::Privilege::canEditWobject($_[0]->get("wobjectId")));
|
||||
WebGUI::SQL->write("delete from Survey_response where Survey_answerId=".quote($session{form}{aid}));
|
||||
WebGUI::SQL->write("delete from Survey_questionResponse where Survey_answerId=".quote($session{form}{aid}));
|
||||
$_[0]->deleteCollateral("Survey_answer","Survey_answerId",$session{form}{aid});
|
||||
$_[0]->reorderCollateral("Survey_answer","Survey_answerId","Survey_id");
|
||||
return $_[0]->www_editQuestion;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue