From 193b6613f52b4121b922b9223ea5ec8bc0d601b5 Mon Sep 17 00:00:00 2001 From: Matthew Musgrove Date: Mon, 25 Apr 2011 18:09:07 -0500 Subject: [PATCH] Not sure how == became = --- lib/Lacuna/DB/Result/Propositions/RenameStar.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Lacuna/DB/Result/Propositions/RenameStar.pm b/lib/Lacuna/DB/Result/Propositions/RenameStar.pm index b7263636..d4e4d1d3 100644 --- a/lib/Lacuna/DB/Result/Propositions/RenameStar.pm +++ b/lib/Lacuna/DB/Result/Propositions/RenameStar.pm @@ -13,7 +13,7 @@ before pass => sub { if (Lacuna->db->resultset('Lacuna::DB::Result::Map::Star')->search({name=>$name, 'id'=>{'!='=>$star->id}})->count) { $self->pass_extra_message('Unfortunately, by the time the proposition passed, the name *'.$name.'* had already taken, effectively nullifying the vote.'); } - elsif ($star->station_id = $station->id) { + elsif ($star->station_id == $station->id) { $self->pass_extra_message('Unfortunately, by the time the proposition passed, the star was no longer under the jurisdiction of this station, effectively nullifying the vote.'); } else { -- 2.51.2