diff --git a/includes/DiscussionParser.php b/includes/DiscussionParser.php index 208066e68..b2fe1f053 100644 --- a/includes/DiscussionParser.php +++ b/includes/DiscussionParser.php @@ -66,7 +66,7 @@ abstract class EchoDiscussionParser { } } - if ( !$createdEvents && $title && $title->getNamespace() == NS_USER_TALK ) { + if ( !$createdEvents && $title->getNamespace() == NS_USER_TALK ) { $notifyUser = User::newFromName( $title->getText() ); if ( $notifyUser && $notifyUser->getID() ) { EchoEvent::create( array(