Skip to content

Commit

Permalink
Weighting shift signup heavier than the text module due to form alter…
Browse files Browse the repository at this point in the history
… weirdness.
  • Loading branch information
jhedstrom committed Feb 25, 2011
1 parent ed5a705 commit 7afc550
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion shift_signup/shift_signup.install
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ function shift_signup_install() {
// Set weight of author_smart_name to be less than volunteer_rally.
update_sql("UPDATE {system} SET weight = -10 WHERE name = 'author_smart_name'");

return $ret;
// Needs to be heavier than the text module too.
update_sql("UPDATE {system} SET weight = 10 WHERE name = 'shift_signup'");
}

/**
Expand Down

0 comments on commit 7afc550

Please sign in to comment.