Support » Plugin: Contact Form by Supsystic » Bad management of missing id case

  • in \modules\forms\views\forms.php in function showForm() in case of missing id
    method return ‘Can not find Form in database’.

    It should return false or at least a translatable string.

Viewing 1 replies (of 1 total)
  • Plugin Author supsystic


    This method should to return a string with the form code, because it is called from the shortcode, and if there is no contact form, then it should not return false, but should to display an error message – that there is no such form in database. This behavior is extremely rare, since it is unlikely that somebody will insert shortcodes with non-existent forms. But if this happens, only the developer or the site administrator should see this message. Therefore, there was no sense to translate it.

Viewing 1 replies (of 1 total)
  • The topic ‘Bad management of missing id case’ is closed to new replies.