Skip to content

Commit

Permalink
Fix typo in variable
Browse files Browse the repository at this point in the history
funtions => functions
  • Loading branch information
jas8522 committed Jul 2, 2021
1 parent a42557b commit 81490cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/servers/solusvmpro/solusvmpro.php
Original file line number Diff line number Diff line change
Expand Up @@ -1256,9 +1256,9 @@ function solusvmpro_Custom_ChangeOSTemplate( $params = '' ) {
}

function solusvmpro_ClientArea( $params ) {
$notCustomFuntions = [ 'reboot', 'shutdown', 'boot', 'tuntap_enable', 'tuntap_disable' ];
$notCustomFunctions = [ 'reboot', 'shutdown', 'boot', 'tuntap_enable', 'tuntap_disable' ];
if ( isset( $_GET['modop'] ) && ( $_GET['modop'] == 'custom' ) ) {
if ( isset( $_GET['a'] ) && !in_array( $_GET['a'], $notCustomFuntions ) ) {
if ( isset( $_GET['a'] ) && !in_array( $_GET['a'], $notCustomFunctions ) ) {
$functionName = 'solusvmpro_' . 'Custom_' . $_GET['a'];
if ( function_exists( $functionName ) ) {
$functionName( $params );
Expand Down

0 comments on commit 81490cc

Please sign in to comment.