From e8f9d6a103e1a0483a68fa53753dcfb37e6dbf65 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Wed, 9 Dec 2009 22:50:00 +1300 Subject: [PATCH] Fix careless typo. --- inc/ui/principal-edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/ui/principal-edit.php b/inc/ui/principal-edit.php index 8ce522fb..6f1d186c 100644 --- a/inc/ui/principal-edit.php +++ b/inc/ui/principal-edit.php @@ -202,7 +202,7 @@ if ( $editor->Value('type_id') == 3 ) { if ( $can_write_principal ) { if ( $grouprow->IsSubmit() ) { - if ( $grouprow->IsUpdate() ) { + if ( $grouprow->IsUpdate() ) $c->messages[] = translate('Updating Member of this Group Principal'); else $c->messages[] = translate('Adding new member to this Group Principal'); @@ -286,7 +286,7 @@ EOTEMPLATE; $grantrow->SetLookup( 'to_principal', 'SELECT principal_id, displayname FROM dav_principal WHERE principal_id NOT IN (SELECT member_id FROM group_member WHERE group_id = '.$id.')' ); if ( $can_write_principal ) { if ( $grantrow->IsSubmit() ) { - if ( $grouprow->IsUpdate() ) { + if ( $grouprow->IsUpdate() ) $c->messages[] = translate('Updating grants by this Principal'); else $c->messages[] = translate('Granting new privileges from this Principal');