artists: fix exception when adding TwitPic urls.

This commit is contained in:
evazion
2022-03-20 21:56:38 -05:00
parent 705edfb175
commit 7c887f8adc
2 changed files with 7 additions and 1 deletions

View File

@@ -77,6 +77,6 @@ class Source::URL::TwitPic < Source::URL
end
def profile_url
"http://twitpic.com/photos/#{username}" if uesrname.present?
"http://twitpic.com/photos/#{username}" if username.present?
end
end