[pmwiki-users] Minor edit detection to enable mailposts
Patrick R. Michaud
pmichaud at pobox.com
Wed Jul 27 09:20:28 CDT 2005
On Wed, Jul 27, 2005 at 03:16:43PM +0100, K.A.Bouton wrote:
> How do I detect if minor edit has been selected?
> I only want mailposts sent if its not checked as a minor edit
$EnableMailPosts = 1;
if (@$_POST['diffclass'] == 'minor') $EnableMailPosts = 0;
Or, more succinctly:
$EnableMailPosts = (@$_POST['diffclass'] != 'minor');
Pm
More information about the pmwiki-users
mailing list