Commit c2c2b3ff authored by Gregory Roussac's avatar Gregory Roussac
parent bd9422b2
......@@ -46,6 +46,8 @@ class TabCore extends ObjectModel
/** @var integer hide_host_mode */
public $hide_host_mode = false;
const TAB_MODULE_LIST_URL = _PS_TAB_MODULE_LIST_URL_;
/**
* @see ObjectModel::$definition
*/
......@@ -164,6 +166,7 @@ class TabCore extends ObjectModel
*/
public static function getCurrentTabId()
{
$id_tab = Tab::getIdFromClassName(Tools::getValue('controller'));
// retro-compatibility 1.4/1.5
if (empty ($id_tab))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment