Skip to content

Instantly share code, notes, and snippets.

@vgrish
Created January 12, 2016 07:19
Show Gist options
  • Save vgrish/79f2f2b6379ac9c77a79 to your computer and use it in GitHub Desktop.
Save vgrish/79f2f2b6379ac9c77a79 to your computer and use it in GitHub Desktop.
подтверждение почты
<?php
if ($modx->event->name == 'msOnSubmitOrder') {
if ($data['email'] != $data['confirm_email']) {
$modx->event->output('wrong email');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment