opencart/opencart — pull request #245 by joeri210 (2012-11-20 14:09:59+00:00)
Title: Less overhead on catalog\controller\module\category.php

Made counting of products fully depending on the config settings. As before it was counting the products, eventhough not needed / set, resulting in a tiny overhead.