projects
/
PHP-P10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc5fa88
)
use the P10Formatter even if there are no parameters to build a command
author
pk910
<philipp@zoelle1.de>
Tue, 26 Jul 2011 09:00:04 +0000
(11:00 +0200)
committer
pk910
<philipp@zoelle1.de>
Tue, 26 Jul 2011 09:00:04 +0000
(11:00 +0200)
Uplink/Uplink.class.php
patch
|
blob
|
history
diff --git
a/Uplink/Uplink.class.php
b/Uplink/Uplink.class.php
index 8174790753541f9af06c7843dcfb016072766434..7cd1d77b601a70a77abdb22ce5bc359c45f7e50e 100644
(file)
--- 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);
}