mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
wrong variable checked
This commit is contained in:
@@ -22,6 +22,6 @@ if ($parm && $parm != 'external' && strpos($parm, ' ') === FALSE)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (strtolower(substr($parm,0,11)) == 'javascript:') return '';
|
if (strtolower(substr($code_text,0,11)) == 'javascript:') return '';
|
||||||
return "<a class='bbcode' href='".$tp -> toAttribute($code_text)."'".$external.">".$code_text."</a>";
|
return "<a class='bbcode' href='".$tp -> toAttribute($code_text)."'".$external.">".$code_text."</a>";
|
||||||
}
|
}
|
||||||
|
@@ -11,6 +11,6 @@ if ($parm && $parm != 'external' && strpos($parm, ' ') === FALSE)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (strtolower(substr($parm,0,11)) == 'javascript:') return '';
|
if (strtolower(substr($code_text,0,11)) == 'javascript:') return '';
|
||||||
return "<a href='".$tp -> toAttribute($code_text)."'".$external.">".$code_text."</a>";
|
return "<a href='".$tp -> toAttribute($code_text)."'".$external.">".$code_text."</a>";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user