Skip to content

Commit

Permalink
fixed indention
Browse files Browse the repository at this point in the history
  • Loading branch information
ansgarwiechers committed Oct 1, 2020
1 parent c787207 commit e4ee472
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions points.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ function qa_db_points_calculations() {

// Also don't grant points for a self-answer being selected.
// This already is the default behavior, but we enforce it here so that
// changing the default behavior wouldn't break the functionality of this
// plugin.
// changing the default behavior wouldn't break the functionality of this
// plugin.
if (array_key_exists('aselecteds', $points_calculations)) {
$points_calculations['aselecteds']['formula'] = "COUNT(*) AS aselecteds FROM ^posts AS userid_src JOIN ^posts AS questions ON questions.selchildid=userid_src.postid WHERE userid_src.userid~ AND userid_src.type='A' AND NOT (questions.userid <=> userid_src.userid)";
} else {
Expand Down

0 comments on commit e4ee472

Please sign in to comment.