Update checkin.php

Issue #945 - Backport to 2.5.x branch.

http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=30471