ci-bonfire/Bonfire — pull request #453 by hailwood (2012-05-27 12:30:38+00:00)
Title: Casting `current_user->id` to int in MY_Controller

As `current_user->id` is currently a string the `is_integer($user_id)` check fails when logging an activity producing the error:
>You must provide a numeric user id to log activity.

This fix simply cast's the id as an int.