From 0f2c9d095d3229c09bc99c81a2f20a103d4c2558 Mon Sep 17 00:00:00 2001 From: myl7 Date: Sun, 8 Nov 2020 12:30:17 +0800 Subject: [PATCH] Fix class static variable usage. --- src/_h5ai/private/php/core/class-context.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_h5ai/private/php/core/class-context.php b/src/_h5ai/private/php/core/class-context.php index bc5a7260..ce7fe079 100644 --- a/src/_h5ai/private/php/core/class-context.php +++ b/src/_h5ai/private/php/core/class-context.php @@ -233,7 +233,7 @@ class Context { $results = []; foreach ($iso_codes as $iso_code) { - if (!in_array($iso_code, $this->$L10N_ISO_CODES)) { + if (!in_array($iso_code, Context::$L10N_ISO_CODES)) { continue; }