Code: Alles auswählen
<?php $DozId=$GLOBALS['we_doc']->OF_ID; ?>
<we:setVar to="global" nameto="dozent_OF_ID" value="$DozId" />
<we:condition name="condition">
<we:conditionAdd field="object_1" compare="=" type="global" var="dozent_OF_ID" />
</we:condition>
Code: Alles auswählen
<we:condition name="condition">
<we:conditionAdd field="object_1" compare="=" type="document" var="OF_ID" property="true"/>
</we:condition>