cakephp/cakephp — pull request #1067 by ceeram (2013-01-10 15:42:04+00:00)
Title: avoid paginate count when no results

In case of no results, i would think the count query is not really needed