Skip to content

Commit

Permalink
Fixed pythonism.
Browse files Browse the repository at this point in the history
  • Loading branch information
tail committed Jan 4, 2012
1 parent 5e00458 commit d732ada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion disqus/disqus.php
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ function dsq_sync_comments($comments) {
$commentdata['comment_author_url'] = $comment->anonymous_author->url;
$commentdata['comment_author_IP'] = $comment->ip_address;
} else {
if isset($comment->author->display_name) {
if (isset($comment->author->display_name)) {
$commentdata['comment_author'] = $comment->author->display_name;
} else {
$commentdata['comment_author'] = $comment->author->username;
Expand Down

0 comments on commit d732ada

Please sign in to comment.