mail_abstraction(array($email), $subject, $body); $message = 'Verification email sent.'; } else { if (isset($_GET['verify'])) { $person['person_email_verified'] = 'y'; $dal->updatePerson($person); $message = 'Email address verified.'; } } } } } } $dal->commit(); } catch (UserException $e) { $dal->rollback(); $error = $e->getMessage(); } catch (Exception $e) { $dal->rollback(); throw $e; } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"/> <meta http-equiv="X-UA-Compatible" content="IE=edge"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <meta name="description" content="OpenLCB ID Registry"/> <link rel="icon" href="../../favicon.ico"/>