propelorm/Propel — pull request #217 by ChrisSharman (2011-12-04 12:37:07+00:00)
Title: createSelectSqlPart - correctly identify space before table name.

... for a space between the rightmost '(' and the rightmost '.' after it.

It has code to look for a space, but it doesn't work because $tableName is null when strpos is done.
Fixed to set $tableName first, and to use strrpos.