Skip to content
Permalink
Browse files

fix create command

  • Loading branch information...
Anisan committed Aug 17, 2019
1 parent 741b96d commit 9f3e08cc08b4284aab31c7e283bcf96850fd360d
Showing with 3 additions and 0 deletions.
  1. +3 −0 modules/telegram/cmd_edit.inc.php
@@ -49,6 +49,8 @@
global $priority;
$rec['PRIORITY']=$priority;
if ($rec['PRIORITY'] == "")
$rec['PRIORITY'] = 0;
global $users_id;
@@ -106,6 +108,7 @@ function updateAccess($cmd_id, $users_id) {
SQLExec("DELETE from tlg_user_cmd where CMD_ID=".$cmd_id);
$users = explode(",", $users_id);
foreach ( $users as $value ) {
if ($value == "") continue;
$recCU=array();
$recCU['CMD_ID']=$cmd_id;
$recCU['USER_ID']=$value;

0 comments on commit 9f3e08c

Please sign in to comment.
You can’t perform that action at this time.