Skip to content

Commit

Permalink
Fix PHP Notice Undefined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ginatrapani committed Jun 28, 2012
1 parent 6e6fd13 commit 1d84c8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/plugins/twitter/model/class.TwitterCrawler.php
Expand Up @@ -1935,7 +1935,7 @@ private function generateInsightFeedItems($number_days=3) {
}

//If not a reply or retweet and geoencoded, show the map in the stream
if (!isset($post->$in_reply_to_user_id) && !isset($post->$in_reply_to_post_id)
if (!isset($post->in_reply_to_user_id) && !isset($post->in_reply_to_post_id)
&& !isset($post->in_retweet_of_post_id) && $post->reply_count_cache > 5) {
$plugin_option_dao = DAOFactory::GetDAO('PluginOptionDAO');
$options = $plugin_option_dao->getOptionsHash('geoencoder', true);
Expand Down

0 comments on commit 1d84c8e

Please sign in to comment.