Skip to content

Commit 2691afa

Browse files
committed
bugfix
1 parent c10bb32 commit 2691afa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BotApp.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public function send(Message $message)
111111
public function saveParams($params)
112112
{
113113
$config = "<?php\n";
114-
$config .= "\return " . var_export($params, true) . ";\n";
114+
$config .= "return " . var_export($params, true) . ";\n";
115115
$configFileName = '/config_' . trim(str_replace('.', '_', $_REQUEST['auth']['domain'])) . '.php';
116116
file_put_contents(__DIR__ . '/../../../' . $configFileName, $config);
117117

0 commit comments

Comments
 (0)