Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: Ouly - tammikuu 04, 2006, 09:19:00 AP

Otsikko: Bug in Sources\ManageNews.php
Kirjoitti: Ouly - tammikuu 04, 2006, 09:19:00 AP
With SMF 1.1 RC 1 and SMF 1.1 RC 2, when a member, who has the permission to send newsletters, try to open the page News and newsletters, he receive "An error has occured !".

I think at the line 94 in file Sources\ManageNews.php :

'mailing'

should be :

'mailingmembers'
Otsikko: Re: Bug in Sources\ManageNews.php
Kirjoitti: qwikysen - tammikuu 04, 2006, 10:03:53 AP
Olright it fixes that bug ^^

tnx
Otsikko: Re: Bug in Sources\ManageNews.php
Kirjoitti: Compuart - tammikuu 04, 2006, 08:21:24 IP
Thanks for looking into a solution :) Will be fixed in the next release.

! An invalid default action was selected in 'News and newsletters' for users without the edit_news permission. (ManageNews.php)