added if (!$post)