Skip to content
This repository was archived by the owner on Mar 30, 2024. It is now read-only.

Commit 1522d65

Browse files
committed
TelegramBot Readline Fix
1 parent b73c7bb commit 1522d65

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/CLIOutput.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public function readline(string $question, ?string $color = null, int $ind = 0)
137137
self::$readlineUsed[$question] = 0;
138138
}
139139
if(isset($val[self::$readlineUsed[$question]])){
140-
$val = self::$readlineUsed[$question];
140+
$val = $val[self::$readlineUsed[$question]];
141141
}
142142
self::$readlineUsed[$question]++;
143143
}

core/Utilities.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55
class Utilities {
66

7-
const VERSION = 'v1.0.9';
7+
const VERSION = 'v1.0.10';
88

99
const DEFAULT_LINE_LENGTH = 125;
1010

0 commit comments

Comments
 (0)