Last modified: 2009-09-20 20:40:28 UTC
In Title.php in the getLatestRevID() function, the function documentation claims that it returns an int. However, it returns the result of a call to Database->selectField which will return false in a couple of cases, mainly, if the page doesn't exist. The documentation for the function should be updated to say it returns a Boolean or an Int or the result of the selectField call should be checked and 0 returned if its false.
Done in r56685.