File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1111
1212# Argument definition
1313user=$1
14- nid =$2
14+ id =$2
1515
1616# Includes
1717source $HESTIA /func/main.sh
@@ -23,7 +23,7 @@ source $HESTIA/conf/hestia.conf
2323# ----------------------------------------------------------#
2424
2525check_args ' 2' " $# " ' USER NOTIFICATION'
26- is_format_valid ' user' ' nid '
26+ is_format_valid ' user' ' id '
2727is_object_valid ' user' ' USER' " $user "
2828
2929# Perform verification if read-only mode is enabled
@@ -35,7 +35,7 @@ check_hestia_demo_mode
3535# ----------------------------------------------------------#
3636
3737# Updating notification
38- update_object_value ' notifications' ' NID' " $nid " ' $ACK' ' yes' 2> /dev/null
38+ update_object_value ' notifications' ' NID' " $id " ' $ACK' ' yes' 2> /dev/null
3939
4040# Checking last notification
4141if [ -e " $USER_DATA /notifications.conf" ]; then
You can’t perform that action at this time.
0 commit comments