X-Git-Url: http://git.pk910.de/?p=PHP-P10.git;a=blobdiff_plain;f=Uplink%2FUplink.class.php;h=7cd1d77b601a70a77abdb22ce5bc359c45f7e50e;hp=8174790753541f9af06c7843dcfb016072766434;hb=7b5d14ab67eadfdb5cc9f062610ae2dd1b9e53af;hpb=cc5fa88dbb229ef9c5dc4bb4ba1f6e12bf8cca62 diff --git a/Uplink/Uplink.class.php b/Uplink/Uplink.class.php index 8174790..7cd1d77 100644 --- a/Uplink/Uplink.class.php +++ b/Uplink/Uplink.class.php @@ -216,6 +216,8 @@ class Uplink { if(func_num_args() > 1) { $args = array_slice(func_get_args(), 1); $command = P10Formatter::formatCMD($this->getSetting("numeric"), $command, $args); + } else { + $command = P10Formatter::formatCMD($this->getSetting("numeric"), $command, array()); } $this->client->send($command); }