Allow project managers to remove tasks

This commit is contained in:
Frédéric Guillot
2015-01-02 22:14:28 -05:00
parent 0ebdd4ddfd
commit 5c6b67bd76
7 changed files with 6 additions and 11 deletions

View File

@@ -198,7 +198,7 @@ class ProjectPermission extends Base
->table(self::TABLE)
->eq('project_id', $project_id)
->eq('user_id', $user_id)
->update(array('is_owner' => $is_owner));
->update(array('is_owner' => (int) $is_owner));
}
/**