From c98e6a917f11da38a30f758fad8df1ba3193be09 Mon Sep 17 00:00:00 2001 From: Vasyl <38387234+nocte1337@users.noreply.github.com> Date: Mon, 16 May 2022 15:09:42 +0200 Subject: [PATCH] Update mo_dynamic.php Fix #15 --- inc/mo_dynamic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/mo_dynamic.php b/inc/mo_dynamic.php index a9bdfb7..82ca8e7 100644 --- a/inc/mo_dynamic.php +++ b/inc/mo_dynamic.php @@ -394,7 +394,7 @@ function shr($var,$amt) { } if ( $moitem->originals_table[$pos] == $key_len - || ord( $mo_original{$key_len} ) == 0 ) { + || ord( $mo_original[$key_len] ) == 0 ) { // strings can only match if they have the same length, no need to inspect otherwise if ( false !== ( $i = strpos( $mo_original, '0' ) ) )