Details
-
Bug
-
Resolution: Fixed
-
Medium
-
2011.10, 3.10.0, 3.10.1rc1, 3.9.4, 4.0.0, 4.0.1rc1, 4.5.0, 4.6.0
-
None
Description
$temp_list =array(); foreach( $tempworkflow_list as $tmpWorkflow ) { foreach ( $templist_in_group as $tmpInGroup ) { $id = $tmpWorkflow->attribute("id"); $workflow_id = $tmpInGroup->attribute("workflow_id"); if ( $tmpWorkflow->attribute( 'id' ) === $tmpWorkflow->attribute( 'workflow_id' ) ) { $temp_list[] = $tmpWorkflow; } } }
There is no such attribute $tmpWorkflow->attribute( 'workflow_id' ). That line should be replaced by:
if ( $id === $workflow_id )
Attachments
Issue Links
- is duplicated by
-
EZP-14463 workflow_id not defined in workflowlist when you have drafts
- Closed