1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-22 13:41:52 +02:00

Option for custom mode.

This commit is contained in:
Cameron 2016-11-03 12:22:00 -07:00
parent 3e9086369f
commit 403fcf5421

@ -4612,7 +4612,8 @@ class e_form
if(method_exists($this,$meth))
{
$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
{