View Single Post
  #4  
Old 11-07-2014, 10:52 PM
IntoRain's Avatar
IntoRain IntoRain is offline
Moderator
 
Join Date: Jul 2013
Location: Portugal
Posts: 461
Gender: Female
Credits: 19,604
IntoRain is on a distinguished road
Default

Quote:
Originally Posted by ilrak View Post
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)
__________________


asp.net stole my soul.
Reply With Quote