aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-12-27 14:07:37 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-12-27 14:07:37 +0100
commita5922a0e8b6a774316a970de67a2447fde13b4de (patch)
tree8c400b839547e997f60f1aac8defb67e6294b0ab
parentfa06c7967eb423589f2f7fd5202bf72faa2aeee0 (diff)
parent1aea572acab3f632e5ba15d8d0f3151421c50f83 (diff)
downloadforums-a5922a0e8b6a774316a970de67a2447fde13b4de.tar
forums-a5922a0e8b6a774316a970de67a2447fde13b4de.tar.gz
forums-a5922a0e8b6a774316a970de67a2447fde13b4de.tar.bz2
forums-a5922a0e8b6a774316a970de67a2447fde13b4de.tar.xz
forums-a5922a0e8b6a774316a970de67a2447fde13b4de.zip
Merge pull request #3223 from prototech/ticket/13370
[ticket/13370] Allow calling class method in convertor framework directly
-rw-r--r--phpBB/install/install_convert.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/install/install_convert.php b/phpBB/install/install_convert.php
index 17161b5eae..6a892a7373 100644
--- a/phpBB/install/install_convert.php
+++ b/phpBB/install/install_convert.php
@@ -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];