Code Duplication    Length = 3-5 lines in 2 locations

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

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

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

@@ 189-191 (lines=3) @@
186
     */
187
    public function assignVar($key, $value)
188
    {
189
        if (isset($key) && isset($this->vars[$key])) {
190
            $this->vars[$key]['value'] = $value;
191
        }
192
    }
193
194
    /**