diff --git a/authentication.php b/authentication.php index e41c1af..48ee381 100644 --- a/authentication.php +++ b/authentication.php @@ -334,7 +334,13 @@ class authentication foreach ($serversParam as $param=>$value) { if ($this->debug) - echo "Add param '$param' with value '$value' to auth$method\n"; + { + if (is_array ($value)) + echo "Add param '$param' to auth$method : ". + var_export ($value, true)."\n"; + else + echo "Add param '$param' with value '$value' to auth$method\n"; + } $authmethod->$param = $value; } $authmethod->connect ();