wpninjas/ninja-forms — pull request #240 by tivnet (2014-06-06 02:53:17+00:00)
Title: Update display-form.php

Check if `$post->ID` is set to avoid PHP notice. Might happen, for example, on a search results page, when nothing is found.