Skip to content
This repository
Browse code

Fixed example code in docs/en/topics/datamodel.md.

  • Loading branch information...
commit 6adc39e289cfa6977bd9ae7895e3680be4c7ac02 1 parent eb82094
jakr authored August 03, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  docs/en/topics/datamodel.md
2  docs/en/topics/datamodel.md
Source Rendered
@@ -262,7 +262,7 @@ other words, it will return all administrators.
262 262
 
263 263
 	:::php
264 264
 	$members = Member::get()->filter(array(
265  
-		'Groups.Permissions.Code' => 'ADMIN',
  265
+		'Groups.Permissions.Code:ExactMatch' => 'ADMIN',
266 266
 	));
267 267
 
268 268
 Note that we are just joining these tables to filter the records. Even if a member is in more than 1 administrator 

0 notes on commit 6adc39e

Please sign in to comment.
Something went wrong with that request. Please try again.