We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7165e3f commit 49a0bc6Copy full SHA for 49a0bc6
phpcclib.php
@@ -1204,19 +1204,18 @@ public function __construct($message, $status)
1204
else if (strlen($rc) > 0)
1205
$this->message = $rc;
1206
else
1207
- $msgs = $obj;
+ $this->message = $message;
1208
}
1209
1210
if (count($msgs) > 0) {
1211
$this->message = '';
1212
1213
-
1214
if (is_array($msgs) || $msgs instanceof Traversable || $msgs instanceof stdClass) {
1215
foreach ($msgs as $k => $v) {
1216
$this->message .= sprintf("%s: %s\n", $k, $v);
1217
1218
}else
1219
- $this->message = $msgs;
1220
1221
1222
0 commit comments