Skip to content

Commit

Permalink
Update slack.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
directman66 committed Aug 22, 2018
1 parent 076a0b7 commit f9ac7b0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/slack/slack.class.php
Expand Up @@ -152,20 +152,20 @@ function checkSettings() {
// Здесь задаются нужные нам параметры - пример взят из календаря, как раз есть текстбокс и радиобуттон
$settings=array(
array(
'NAME'=>'SLAK_APIURL',
'NAME'=>'SLACK_APIURL',
'TITLE'=>'APIURL',
'TYPE'=>'text',
'DEFAULT'=>'14'
'DEFAULT'=>'https://hooks.slack.com/services/xxxx/'
),
array(
'NAME'=>'SLAK_MSGLEVEL',
'NAME'=>'SLACK_MSGLEVEL',
'TITLE'=>'MSGLEVEL',
'TYPE'=>'text',
'DEFAULT'=>'2'
),

array(
'NAME'=>'SLAK_ENABLE',
'NAME'=>'SLACK_ENABLE',
'TITLE'=>'Enable',
'TYPE'=>'yesno',
'DEFAULT'=>'1'
Expand Down

0 comments on commit f9ac7b0

Please sign in to comment.