mybb/mybb — pull request #122 by WildcardSearch (2013-09-11 15:53:11+00:00)
Title: Save wasted queries in get_user()

While most of the core code is good about ensuring that good values are passed to `get_user()`, plugin authors are an unknown quantity. This small edit prevents wasting a query looking for `uid='0'` which cannot be.