From 33738fa3db8059a0929e0f6248b429774be162b0 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Thu, 5 Mar 2015 15:10:37 +0100 Subject: [PATCH] [ticket/13670] Modify variable-variable syntax in common avatar test for PHP7 PHPBB3-13670 --- tests/functional/common_avatar_test_case.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/common_avatar_test_case.php b/tests/functional/common_avatar_test_case.php index 7278f23bcc..924eb1273c 100644 --- a/tests/functional/common_avatar_test_case.php +++ b/tests/functional/common_avatar_test_case.php @@ -62,7 +62,7 @@ abstract class phpbb_functional_common_avatar_test_case extends phpbb_functional { if (is_array($value)) { - $form[$key]->$value[0]($value[1]); + $form[$key]->{$value[0]}($value[1]); } else {