Browse Source

use underscore if no username found

master
Aaron Parecki 6 years ago
parent
commit
9d6174ad17
No known key found for this signature in database GPG Key ID: 276C2817346D6056
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/Tweet.php

+ 1
- 1
app/Tweet.php View File

@ -56,7 +56,7 @@ class Tweet extends Model
}
public function twitter_permalink() {
return 'https://twitter.com/'.($this->player ? $this->player->twitter : $this->author_username).'/status/'.$this->tweet_id;
return 'https://twitter.com/'.($this->player ? $this->player->twitter : '_').'/status/'.$this->tweet_id;
}
public static function claimed_timeout() {

Loading…
Cancel
Save