mybb/mybb — pull request #1723 by Destroy666x (2014-12-26 14:45:07+00:00)
Title: Fix #1707 move substr() outside of get_current_location()

As the title says.

https://github.com/mybb/mybb/issues/1707