Code Duplication    Length = 3-3 lines in 2 locations

class/SingleView.php 2 locations

@@ 87-89 (lines=3) @@
84
            }
85
        }
86
        $action_row = '';
87
        if (in_array('edit', $this->_actions)) {
88
            $action_row .= $this->_object->getEditItemLink(false, true, true);
89
        }
90
        if (in_array('delete', $this->_actions)) {
91
            $action_row .= $this->_object->getDeleteItemLink(false, true, true);
92
        }
@@ 90-92 (lines=3) @@
87
        if (in_array('edit', $this->_actions)) {
88
            $action_row .= $this->_object->getEditItemLink(false, true, true);
89
        }
90
        if (in_array('delete', $this->_actions)) {
91
            $action_row .= $this->_object->getDeleteItemLink(false, true, true);
92
        }
93
        if ($action_row) {
94
            $smartobjectObjectArray['zaction']['value']   = $action_row;
95
            $smartobjectObjectArray['zaction']['caption'] = _CO_SOBJECT_ACTIONS;