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 @@ -827,7 +827,7 @@ function getBotSettingKeys(){
827827 $ increaseTime = $ botState ['increaseTimeState ' ]=="on " ?$ buttonValues ['on ' ]:$ buttonValues ['off ' ];
828828 $ increaseVolume = $ botState ['increaseVolumeState ' ]=="on " ?$ buttonValues ['on ' ]:$ buttonValues ['off ' ];
829829 $ subLink = $ botState ['subLinkState ' ]=="on " ?$ buttonValues ['on ' ]:$ buttonValues ['off ' ];
830- $ configLink = $ botState ['configLinkState ' ]=="on " ?$ buttonValues ['on ' ]:$ buttonValues ['off ' ];
830+ $ configLink = $ botState ['configLinkState ' ]=="off " ?$ buttonValues ['off ' ]:$ buttonValues ['on ' ];
831831 $ renewConfigLink = $ botState ['renewConfigLinkState ' ]=="on " ?$ buttonValues ['on ' ]:$ buttonValues ['off ' ];
832832 $ updateConfigLink = $ botState ['updateConfigLinkState ' ]=="on " ?$ buttonValues ['on ' ]:$ buttonValues ['off ' ];
833833 $ individualExistence = $ botState ['individualExistence ' ]=="on " ?$ buttonValues ['on ' ]:$ buttonValues ['off ' ];
@@ -1335,7 +1335,7 @@ function getUserOrderDetailKeys($id){
13351335 $ leftgb = round ( ($ total - $ up - $ down ) / 1073741824 , 2 ) . " GB " ;
13361336 $ configLinks = "" ;
13371337 foreach ($ acc_link as $ acc_link ){
1338- $ configLinks .= $ botState ['configLinkState ' ] == " on " ?"\n <code> $ acc_link</code> " :"" ;
1338+ $ configLinks .= $ botState ['configLinkState ' ] != " off " ?"\n <code> $ acc_link</code> " :"" ;
13391339 }
13401340 $ keyboard = array ();
13411341 if ($ inbound_id == 0 ){
@@ -1696,7 +1696,7 @@ function getOrderDetailKeys($from_id, $id){
16961696 $ leftgb = round ( ($ total - $ up - $ down ) / 1073741824 , 2 ) . " GB " ;
16971697 $ configLinks = "" ;
16981698 foreach ($ acc_link as $ acc_link ){
1699- $ configLinks .= ($ botState ['configLinkState ' ] == " on " ?"\n <code> $ acc_link</code> " :"" );
1699+ $ configLinks .= ($ botState ['configLinkState ' ] != " off " ?"\n <code> $ acc_link</code> " :"" );
17001700 }
17011701 $ keyboard = array ();
17021702 if ($ inbound_id == 0 ){
You can’t perform that action at this time.
0 commit comments