Clayton wrote :
> On 12/04/2010 12:39 AM, Platonides wrote:
>> if( !preg_match( '/@(mailinator|binkmail).com$/', $user->getEmail() ) {
> Seems straight forward, so I added the code (with and without the & in
> front of the $message variable) to my LocalSettings.php... and it didn't
> work so well. According to my error log it had a "PHP Parse Error:
> syntax error, unexpected '{'" at the end of the first line of the if
> statement. Funny thing is... I don't see a syntax error there though
> (granted I'm not a php guru... still learning, so I might be missing
> something).
>
> I tried a few variations on the function code (including the suggestion
> from OQ) with the same results.... an unexpected '{'.
>
> So at this point I'm a little puzzled... any suggestions on where the
> problem is?
a closing parenthesis ')' is missing before the '{' ?
Alexis
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l