We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0290a97 commit 6169412Copy full SHA for 6169412
1 file changed
front/formdisplay.php
@@ -47,7 +47,7 @@
47
&& is_numeric($_REQUEST['id'])) {
48
49
if ($form->getFromDB((int) $_REQUEST['id'])) {
50
- if ($form->fields['is_active'] == '0') {
+ if ($form->fields['is_active'] == '0' || $form->fields['is_deleted'] != '0') {
51
Html::displayNotFoundError();
52
}
53
if ($form->fields['access_rights'] != PluginFormcreatorForm::ACCESS_PUBLIC) {
0 commit comments