[pmwiki-users] Not including minor changes in RSS

DaveG pmwiki at solidgone.com
Tue Aug 18 15:12:47 CDT 2009


pmwiki at 911networks.com wrote:
> I have changed the diffclass to:
> 
> if (!@$_POST['diffclass'] != 'minor') {
>   $RecentChangesFmt['$SiteGroup.AllRecentChanges'] = '*[[{$Group}.{$Name}]]  . . . $CurrentTime: {$LastModifiedSummary}'; }
> 
> It still does update the Site.AllRecentChanges with the minor changes checked on. I'm using Pm2.2.4
Not sure if this is the problem, but you have a minor error in the code. 
There should be no '!' preceding the @$_POST. So it should read:

    if (@$_POST['diffclass'] != 'minor') {


  ~ ~ Dave



More information about the pmwiki-users mailing list