Skip to content

Commit 08173f6

Browse files
brendonitriques
authored andcommitted
Fix incorrect message when datasource times out (#33)
The variable was incorrect, meaning the message would always resolve to: ``` <error>Request timed out. 0 second limit reached.</error> ```
1 parent 52f6a1b commit 08173f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

data-sources/datasource.remote.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,7 @@ public function execute(array &$param_pool = null)
864864
$result->appendChild(
865865
new XMLElement(
866866
'error',
867-
sprintf('Request timed out. %d second limit reached.', $timeout)
867+
sprintf('Request timed out. %d second limit reached.', $this->dsParamTIMEOUT)
868868
)
869869
);
870870
} else {

0 commit comments

Comments
 (0)