mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 10:38:59 +01:00
Your fix is coming soon aaron <3
This commit is contained in:
parent
b00bf4f1f4
commit
c2add62c4c
@ -157,8 +157,8 @@ class Lua
|
||||
array_walk_recursive($data, function (&$value, $key) {
|
||||
if (is_object($value)) {
|
||||
$newval = [];
|
||||
if (method_exists($value, 'click')) {
|
||||
$newval['click'] = [$value, 'click'];
|
||||
foreach (get_class_methods($value) as $name) {
|
||||
$newval[$name] = [$value, $name];
|
||||
}
|
||||
foreach ($value as $key => $name) {
|
||||
$newval[$key] = $name;
|
||||
|
Loading…
Reference in New Issue
Block a user