Skip to content

Commit eeb7fbd

Browse files
authored
Update script.class.php
1 parent ca1601f commit eeb7fbd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/class/script.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ public function execute($_options = null) {
310310
if ($this->getConfiguration('jsonNoSslCheck') == 1) {
311311
$request_http->setNoSslCheck(true);
312312
}
313-
if ($this->getType() == 'action') {
313+
if ($this->getType() == 'action' && trim($request) != '') {
314314
$request_http->setPost($request);
315315
}
316316
$json_str = trim($request_http->exec($this->getConfiguration('jsonTimeout', 2), $this->getConfiguration('maxJsonRetry', 3)));

0 commit comments

Comments
 (0)