Quote:
Originally Posted by ilrak
Oddly enough, I did find a missing bracket in an area I didn't change (I had added a pm for people when they register), but then I kept getting an error so I took out this part:
else{throw new RegisterException($validator->triggererror());
$mysidia->session->terminate("register");
return;
}
And now it will open the registration page.
|
Looks like to me you are sending your PM outside the if(!$validator->triggererror()){} condition block, it should be inside. That's why the else{} is giving problems (it has no if() attached to it)