We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f4401f commit 218bb11Copy full SHA for 218bb11
1 file changed
nodeapp.php
@@ -218,6 +218,7 @@ public function get_pm2_log( $pm2_id ) {
218
*/
219
public function hcpp_invoke_plugin( $args ) {
220
global $hcpp;
221
+ if (count($args) < 2) return $args; // Exit early
222
$username = preg_replace( "/[^a-zA-Z0-9-_]+/", "", $args[1] ); // Sanitized username
223
switch ( $args[0] ) {
224
case 'nodeapp_pm2_jlist':
0 commit comments