diff --git a/indra/newview/llfloatertools.cpp b/indra/newview/llfloatertools.cpp
index 96acc5b4249ad819589c0aa870f4fec1c32c6b46..3577649be1d9658aa3f8062725b90e6279e13bc0 100644
--- a/indra/newview/llfloatertools.cpp
+++ b/indra/newview/llfloatertools.cpp
@@ -1159,7 +1159,7 @@ bool LLFloaterTools::selectedMediaEditable()
 		
 		if ( ( owner_mask_on & PERM_MODIFY ) ||
 			( group_mask_on & PERM_MODIFY ) || 
-			( group_mask_on & PERM_MODIFY ) )
+			(everyone_mask_on & PERM_MODIFY ) )
 		{
 			selected_Media_editable = true;
 		}