--- og_content_type_admin.module	2009-10-15 12:04:25.000000000 +0100
+++ og_content_type_admin.module.patch	2010-03-24 01:23:15.000000000 +0000
@@ -959,11 +959,13 @@ function og_content_type_admin_block_det
       //sift through the links returned and remove the restricted content types
       foreach ($types as $type) {
         foreach ($links as $link => $value) {
-          $link_test_text = t('Create !type', array('!type' => $type->name));
-          if (strstr($value, $link_test_text) && ($activated_types[$type->type] == DEACTIVATED) && (!_og_content_type_admin_is_admin_content_access_nid($node->nid))) {
+	  $value = strip_tags($value);
+	  $tmp = $type->name;
+          $link_test_text = t('Create !type', array('!type' => $tmp));
+          if (($value == $link_test_text) && ($activated_types[$type->type] == DEACTIVATED) && (!_og_content_type_admin_is_admin_content_access_nid($node->nid))) {
             unset($links[$link]);
           }
-          if (strstr($value, $link_test_text) && ($allowed_types[$type->type] == NOT_ASSIGNED_TO_GROUP) && ($user->uid != 1)) {
+          if (($value == $link_test_text) && ($allowed_types[$type->type] == NOT_ASSIGNED_TO_GROUP) && ($user->uid != 1)) {
             unset($links[$link]);
           }
         }
