Returns to normal page after deleting question rather than edit page.
This commit is contained in:
parent
cb00bc92d2
commit
61236cae5d
1 changed files with 1 additions and 2 deletions
|
|
@ -96,8 +96,7 @@ sub www_deleteQuestion {
|
|||
$output .= '<div align="center"><a href="'.
|
||||
WebGUI::URL::page('func=deleteQuestionConfirm&wid='.$_[0]->get("wobjectId").
|
||||
'&qid='.$session{form}{qid}).'">'.WebGUI::International::get(44).'</a>';
|
||||
$output .= ' <a href="'.WebGUI::URL::page('func=edit&wid='.$_[0]->get("wobjectId"))
|
||||
.'">'.WebGUI::International::get(45).'</a></div>';
|
||||
$output .= ' <a href="'.WebGUI::URL::page().'">'.WebGUI::International::get(45).'</a></div>';
|
||||
return $output;
|
||||
} else {
|
||||
return WebGUI::Privilege::insufficient();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue