PrestaShop/PrestaShop — pull request #646 by kpodemski (2013-08-13 12:53:45+00:00)
Title: [*] CORE : Get instance of current category in category controller

Get instance of category in for eg. module hook using:

$category = $this->context->controller->getCategory()

instead of

new Category(1,1);