mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 06:07:32 +02:00
bugfix - using double-quotes (") inside an extended user_field's "Field include text" was breaking the html.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php
|
||||
/*
|
||||
+ ----------------------------------------------------------------------------+
|
||||
| e107 website system
|
||||
@@ -11,9 +11,9 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_handlers/user_extended_class.php,v $
|
||||
| $Revision: 1.5 $
|
||||
| $Date: 2007-04-14 16:50:50 $
|
||||
| $Author: e107steved $
|
||||
| $Revision: 1.6 $
|
||||
| $Date: 2007-06-13 22:03:01 $
|
||||
| $Author: e107coders $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
@@ -291,7 +291,7 @@ class e107_user_extended
|
||||
$choices[$k] = str_replace("[E_COMMA]", ",", $choices[$k]);
|
||||
}
|
||||
$parms = explode("^,^",$struct['user_extended_struct_parms']);
|
||||
$include = preg_replace("/\n/", " ", $tp->toText($parms[0]));
|
||||
$include = preg_replace("/\n/", " ", $tp->toHtml($parms[0]));
|
||||
$regex = $tp->toText($parms[1]);
|
||||
$regexfail = $tp->toText($parms[2]);
|
||||
$fname = "ue[user_".$struct['user_extended_struct_name']."]";
|
||||
|
Reference in New Issue
Block a user