Commit ed71d74d authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #4173 Merging group and ogroup tabs when mixed groups is installed

parent 131de827
......@@ -1075,6 +1075,9 @@ class config {
foreach ($plInfo['plObjectType'] as $key => $value) {
if (is_numeric($key)) { // This is not the main tab
$tabclass = strtoupper($value)."TABS";
if (($tabclass == 'GROUPTABS') && class_available('mixedGroup')) {
$tabclass = 'OGROUPTABS';
}
@DEBUG (DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__, $tabclass, "Adding $class to tab list");
if (!isset($this->data['TABS'][$tabclass])) {
$this->data['TABS'][$tabclass] = array();
......
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