Ignore:
Timestamp:
Oct 14, 2009, 6:13:25 PM (15 years ago)
Author:
patdenice
Message:

Replace another depreciated functions.
Depreciated functions were removed in trunk in commit 3747 by Eric.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/upload.php

    r3046 r4036  
    189189    array_push( $error, l10n('upload_filenotfound') );
    190190  }
    191   if ( !ereg( "([_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)+)",
     191  if ( !preg_match( '/([_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)+)/',
    192192             $_POST['mail_address'] ) )
    193193  {
Note: See TracChangeset for help on using the changeset viewer.