Commit 8a35f1e65f22f0fd039faba3b92942703befeaf7
1 parent
b600ef36
Exists in
master
and in
52 other branches
Fix incompatibility wiyh PHP 5.4
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/Request/ParamsRequestImpl/ParamsRequestClass.php
... | ... | @@ -66,7 +66,7 @@ class ParamsRequestClass extends ProcessRequestClass |
66 | 66 | foreach ($this->requestData->getRequestNodes() as $requestNode) |
67 | 67 | { |
68 | 68 | //inject time restriction |
69 | - if (!empty($this->requestData->getParamsTimeRestrictions())) { | |
69 | + if (count($this->requestData->getParamsTimeRestrictions()) > 0) { | |
70 | 70 | //Here |
71 | 71 | foreach ($this->requestData->getParamsTimeRestrictions() as $paramId => $timeRestriction) |
72 | 72 | { | ... | ... |