Code Duplication    Length = 3-5 lines in 2 locations

htdocs/class/xml/rss/xmlrss2parser.php 1 location

@@ 83-87 (lines=5) @@
80
     */
81
    public function setChannelData($name, &$value)
82
    {
83
        if (!isset($this->_channelData[$name])) {
84
            $this->_channelData[$name] = $value;
85
        } else {
86
            $this->_channelData[$name] .= $value;
87
        }
88
    }
89
90
    /**

htdocs/xoops_lib/Xoops/Core/Kernel/XoopsObject.php 1 location

@@ 200-202 (lines=3) @@
197
     */
198
    public function assignVar($key, $value)
199
    {
200
        if (isset($key) && isset($this->vars[$key])) {
201
            $this->vars[$key]['value'] = $value;
202
        }
203
    }
204
205
    /**