mirror of
https://github.com/e107inc/e107.git
synced 2025-08-29 01:00:20 +02:00
Notice and Warning removals
This commit is contained in:
@@ -144,6 +144,11 @@ class e_tohtml_linkwords
|
||||
function to_html($text,$area = 'olddefault')
|
||||
{
|
||||
|
||||
if(is_string($this->area_opts))
|
||||
{
|
||||
$this->area_opts = e107::unserialize($this->area_opts);
|
||||
}
|
||||
|
||||
if (!$this->lw_enabled || !count($this->area_opts) || !array_key_exists($area,$this->area_opts) || !$this->area_opts[$area]) return $text; // No linkwords in disabled areas
|
||||
|
||||
// Split up by HTML tags and process the odd bits here
|
||||
|
Reference in New Issue
Block a user