File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/Models/Foundation/Main Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2401,11 +2401,11 @@ public function getLatestElectionNominations()
24012401 public function nominateCandidate (Member $ candidate , Election $ election ): Nomination
24022402 {
24032403
2404- if (!$ this ->isFoundationMember ())
2405- throw new ValidationException ("You are not a valid Voter . " );
2404+ if (!$ this ->isIndividualMember ())
2405+ throw new ValidationException ("You need to be an Individual Member . " );
24062406
24072407 if (!$ election ->isNominationsOpen ())
2408- throw new ValidationException ("Nomination Period is closed for election. " );
2408+ throw new ValidationException ("Nomination Period is closed for current election. " );
24092409
24102410 if (!$ candidate ->isFoundationMember ())
24112411 throw new ValidationException ("Candidate is not valid. " );
You can’t perform that action at this time.
0 commit comments