mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Option for custom mode.
This commit is contained in:
@@ -4612,7 +4612,8 @@ class e_form
|
|||||||
if(method_exists($this,$meth))
|
if(method_exists($this,$meth))
|
||||||
{
|
{
|
||||||
$parms['field'] = $field;
|
$parms['field'] = $field;
|
||||||
$value = call_user_func_array(array($this, $meth), array($value, 'read', $parms));
|
$mode = (!empty($attributes['mode'])) ? $attributes['mode'] :'read';
|
||||||
|
$value = call_user_func_array(array($this, $meth), array($value, $mode, $parms));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user