Closed Doeme closed 8 years ago
Good find.
It's probably better to add the cast to the comparison itself, instead of here. Because if you call the method with $group_id = "100"
, it will still fail because your solution is bypassed?
Made the change in a474cf5ca294c7e241ff171e27a32ca6353b9f40
Thanks!
The comparison
$group_id === (int) $group[1]->id
fails otherwise. (see issue #115)