summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Psecio/Gatekeeper/PermissionCollection.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Psecio/Gatekeeper/PermissionCollection.php b/src/Psecio/Gatekeeper/PermissionCollection.php
index 1853b58..3943923 100644
--- a/src/Psecio/Gatekeeper/PermissionCollection.php
+++ b/src/Psecio/Gatekeeper/PermissionCollection.php
@@ -32,7 +32,7 @@ class PermissionCollection extends \Psecio\Gatekeeper\Collection\Mysql
public function findByGroupId($groupId)
{
$data = array('groupId' => $groupId);
- $sql = 'select p.* from permissions p, group_permission gp';
+ $sql = 'select p.* from permissions p, group_permission gp'
.' where p.id = gp.permision_id'
.' and gp.group_id = :groupId';