simpler implementation for r22119 ([ADD] switch for postgres when $query_cond is empty because resulting "SELECT FROM ... WHERE 1 AND ..." didn't work)
simpler implementation for r22119 ([ADD] switch for postgres when $query_cond is empty because resulting "SELECT FROM ... WHERE 1 AND ..." didn't work)


git-svn-id: a7fabbc6a7c54ea5c67cbd16bd322330fd10cc35@22150 b456876b-0849-0410-b77d-98878d47e9d5

tikiorg/tiki,changi67/tiki,oregional/tiki,changi67/tiki,oregional/tiki,oregional/tiki,tikiorg/tiki,changi67/tiki,tikiorg/tiki,tikiorg/tiki,oregional/tiki,changi67/tiki,changi67/tiki