1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-15 05:14:28 +02:00

Merge pull request #3223 from prototech/ticket/13370

[ticket/13370] Allow calling class method in convertor framework directly
This commit is contained in:
Joas Schilling 2014-12-27 14:07:37 +01:00
commit a5922a0e8b

View File

@ -2014,7 +2014,7 @@ class install_convert extends module
{
$value = $fields[1][$firstkey];
}
else if (is_array($fields[2]))
else if (is_array($fields[2]) && !is_callable($fields[2]))
{
// Execute complex function/eval/typecast
$value = $fields[1];