diff options
author | Alexander NeonXP Kiryukhin <frei@neonxp.info> | 2016-05-27 16:36:12 +0300 |
---|---|---|
committer | Alexander NeonXP Kiryukhin <frei@neonxp.info> | 2016-05-27 16:36:12 +0300 |
commit | 1bc2d8063b54ac4eebe394d15c0e64a1e4d7924e (patch) | |
tree | 17581bae595ebb5a3ed1a5d1bdec9db7c4757536 /src | |
parent | 155b3006cd163dd852869dbbb2b4b71ddb3ab3b6 (diff) |
Added DB search 6
Diffstat (limited to 'src')
-rw-r--r-- | src/NeonXP/BotScript.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/NeonXP/BotScript.php b/src/NeonXP/BotScript.php index 6fb9c9f..5821d7a 100644 --- a/src/NeonXP/BotScript.php +++ b/src/NeonXP/BotScript.php @@ -110,7 +110,7 @@ class BotScript } } - if (strtolower($value[4]) == strtolower($text)) { + if (strtolower($value[2]) == strtolower($text)) { if ($key < 10) { $result = "0$key | $value[0] | $value[1] | $value[2] | $value[3] | $value[4] | $value[5]" . PHP_EOL; } else { |