Fix incorrect filtering of custom blocks from drop-down list

This commit is contained in:
Marc Alexander
2012-04-07 12:17:47 +02:00
parent 0f54212e90
commit cf3784b780

View File

@@ -857,6 +857,8 @@ class acp_portal
}
// do we want to add the module to the side columns or to the center columns?
if ($module_class != 'custom')
{
if (in_array($column_string, array('left', 'right')))
{
// does the module already exist in the side columns?
@@ -877,6 +879,7 @@ class acp_portal
continue;
}
}
}
if (!class_exists($class))
{