Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1439)
+++ branches/2.8.x/CHANGELOG	(revision 1440)
@@ -11,18 +11,20 @@
 ! = Update/Change
 
 ------------------------------------- 2.8.2 -------------------------------------
-17 Mae-2011 Build 1439 Werner v.d.Decken(DarkViper)
+26 Mar-2011 Build 1440 Dietmar Woellbrink (Luisehahne)
+# add missing methode is_group_match in class.wb.php 
+17 Mar-2011 Build 1439 Werner v.d.Decken(DarkViper)
 ! syncronice version (no data changes)
-17 Mae-2011 Build 1438 Werner v.d.Decken(DarkViper)
+17 Mar-2011 Build 1438 Werner v.d.Decken(DarkViper)
 # little fixes for xhtml-validity in '/include/captcha/captcha.php'
-17 Mae-2011 Build 1437 Werner v.d.Decken(DarkViper)
+17 Mar-2011 Build 1437 Werner v.d.Decken(DarkViper)
 # little fixes for xhtml-validity module 'form'
-17 Mae-2011 Build 1436 Dietmar Woellbrink (Luisehahne)
+17 Mar-2011 Build 1436 Dietmar Woellbrink (Luisehahne)
 ! update jquery to Version 1.5.1 and jQuery UI to Version 1.8.10
-17 Mae-2011 Build 1435 Dietmar Woellbrink (Luisehahne)
+17 Mar-2011 Build 1435 Dietmar Woellbrink (Luisehahne)
 # fix entities converting in select languages (Tks to the community)
 # see http://www.websitebaker2.org/forum/index.php/topic,20547.msg140512.html#msg140512
-13 Mae-2011 Build 1433 Dietmar Woellbrink (Luisehahne)
+13 Mar-2011 Build 1433 Dietmar Woellbrink (Luisehahne)
 # fixed bug : Call to undefined method wb::preprocess() 
 14 Feb-2011 Build 1432 Dietmar Woellbrink (Luisehahne)
 # update NL language file (Tks to Argos)
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1439)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1440)
@@ -52,6 +52,6 @@
 
 // check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
 if(!defined('VERSION')) define('VERSION', '2.8.2.RC5');
-if(!defined('REVISION')) define('REVISION', '1439');
+if(!defined('REVISION')) define('REVISION', '1440');
 
 ?>
Index: branches/2.8.x/wb/framework/class.wb.php
===================================================================
--- branches/2.8.x/wb/framework/class.wb.php	(revision 1439)
+++ branches/2.8.x/wb/framework/class.wb.php	(revision 1440)
@@ -40,6 +40,30 @@
 	}
 
 /* ****************
+ * check if one or more group_ids are in both group_lists
+ *
+ * @access public
+ * @param mixed $groups_list1: an array or a coma seperated list of group-ids
+ * @param mixed $groups_list2: an array or a coma seperated list of group-ids
+ * @param array &$matches: an array-var whitch will return possible matches
+ * @return bool: true there is a match, otherwise false
+ */
+	function is_group_match( $groups_list1 = '', $groups_list2 = '', &$matches = null )
+	{
+		if( $groups_list1 == '' ) { return false; }
+		if( $groups_list2 == '' ) { return false; }
+		if( !is_array($groups_list1) )
+		{
+			$groups_list1 = explode(',', $groups_list1);
+		}
+		if( !is_array($groups_list2) )
+		{
+			$groups_list2 = explode(',', $groups_list2);
+		}
+		$matches = array_intersect( $groups_list1, $groups_list2);
+		return ( sizeof($matches) != 0 );
+	}
+/* ****************
  * check if current user is member of at least one of given groups
  * ADMIN (uid=1) always is treated like a member of any groups
  *
