Skip to content

Commit

Permalink
PHP8
Browse files Browse the repository at this point in the history
Исправление установки на PHP8
  • Loading branch information
whitevast authored and Anisan committed Jun 7, 2023
1 parent b4bc684 commit 43ac7e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/telegram/telegram.class.php
Expand Up @@ -1864,7 +1864,7 @@ function dbInstall($data) {
EOD;
parent::dbInstall($data);
$cmds = SQLSelectOne("SELECT * FROM tlg_cmd;");
if(count($cmds) == 0) {
if(!isset($cmds)) {
$rec['TITLE'] = 'Ping';
$rec['DESCRIPTION'] = 'Example command Ping-Pong';
$rec['CODE'] = 'return "Pong!";';
Expand Down

0 comments on commit 43ac7e8

Please sign in to comment.