From 91f159841bfa7474b4e08f04b2dc8fcbcf1b054c Mon Sep 17 00:00:00 2001 From: chifu1234 Date: Tue, 30 Oct 2018 21:48:24 +0100 Subject: [PATCH] Update metamodel.class.php Update metamodel.class.php --- core/metamodel.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/metamodel.class.php b/core/metamodel.class.php index 386c3a12e..f93c5f742 100644 --- a/core/metamodel.class.php +++ b/core/metamodel.class.php @@ -144,7 +144,7 @@ abstract class MetaModel // $aBacktrace[1] is the info we want if (!empty($sExpectedFunctionName)) { - assert('$aBacktrace[2]["function"] == $sExpectedFunctionName'); + assert($aBacktrace[2]['function'] == $sExpectedFunctionName); } if ($bRecordSourceFile) {