forked from extern/egroupware
we can have multiple comma-separated types now
This commit is contained in:
parent
4cc4052813
commit
efb218c924
@ -60,7 +60,8 @@
|
|||||||
//echo '<pre style="text-align: left;">'; print_r($value); echo "</pre>\n";
|
//echo '<pre style="text-align: left;">'; print_r($value); echo "</pre>\n";
|
||||||
foreach($this->customfields as $name => $field)
|
foreach($this->customfields as $name => $field)
|
||||||
{
|
{
|
||||||
if (!empty($field['type2']) && $field['type2'] != $value)
|
// check if the customfield get's displayed for type $value, we can have multiple comma-separated types now
|
||||||
|
if (!empty($field['type2']) && !strstr(','.$field['type2'].',',','.$value.','))
|
||||||
{
|
{
|
||||||
continue; // not for our content type
|
continue; // not for our content type
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user