mirror of
https://github.com/e107inc/e107.git
synced 2025-08-20 05:11:42 +02:00
User filter fixes
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
// $Id$
|
||||
//<?
|
||||
global $pref;
|
||||
|
||||
/**
|
||||
@@ -23,8 +24,8 @@ global $pref;
|
||||
[link=external=http://mysite.com]My text[/link]
|
||||
*/
|
||||
|
||||
|
||||
$parm = trim($parm);
|
||||
$tp = e107::getParser();
|
||||
$parm = $tp->dataFilter(trim($parm),'link');
|
||||
|
||||
/* Fix for people using link=external= */
|
||||
if(strpos($parm,"external=") !== FALSE)
|
||||
|
Reference in New Issue
Block a user