Issues

ZF-11364: Zend_Db_Adapter_Pdo_Mssql limit does not support queries with multiple ORDER BY clauses

Description

When a query has a subquery with its own ORDER BY clause the stristr function extracts the first ORDER BY clause whilst it should extract the last one line 340: $orderby = stristr($sql, 'ORDER BY');

strripos() function should be used instead.

Comments

No comments to display