projects
/
GitHub
/
Stricted
/
speedport-hybrid-php-api.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix reconnectLte
[GitHub/Stricted/speedport-hybrid-php-api.git]
/
SpeedportHybrid.class.php
diff --git
a/SpeedportHybrid.class.php
b/SpeedportHybrid.class.php
index 06030a604a17300de2ad28ae981503ee59dff703..c135643cd5163d77b29c03fef5f52a4a9e0d8315 100644
(file)
--- a/
SpeedportHybrid.class.php
+++ b/
SpeedportHybrid.class.php
@@
-121,6
+121,7
@@
class SpeedportHybrid {
if (!empty($fields)) {
curl_setopt($ch, CURLOPT_POST, true);
+
if (is_array($fields)) {
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($fields));
}