Issue #2158843 happens only when use PHP versions < 5.3.6

Ronald - You can consider this patch as a supporting code for users that have PHP versions < 5.3.6 with the consideration that in Rooms there is an extensive use of range() PHP function. The solution for that users is update to greater PHP version but in case we want to broke Rooms on that PHP versions we should consider something like this solution. The decision is at your side.

See: https://drupal.org/node/2158843  and https://bugs.php.net/bug.php?id=51894