Changeset 7323
- Timestamp:
- 12/18/08 14:20:58 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/trunk/amp_conf/htdocs/recordings/modules/settings.module
r7319 r7323 467 467 // voicemail email address 468 468 if (($voicemail_email_enable || $voicemail_pager_enable) && 469 ($voicemail_email_address && !preg_match('/ @/',$voicemail_email_address) ||470 ($voicemail_pager_address && !preg_match('/ @/',$voicemail_pager_address)))) {469 ($voicemail_email_address && !preg_match('/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,6}$/i',$voicemail_email_address) || 470 ($voicemail_pager_address && !preg_match('/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,6}$/i',$voicemail_pager_address)))) { 471 471 $_SESSION['ari_error'] = 472 472 _("Voicemail email and pager address not changed") . "<br>" .
