summaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/lib/Check/RequestRemoteAddress.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/workflowengine/lib/Check/RequestRemoteAddress.php')
-rw-r--r--apps/workflowengine/lib/Check/RequestRemoteAddress.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/workflowengine/lib/Check/RequestRemoteAddress.php b/apps/workflowengine/lib/Check/RequestRemoteAddress.php
index de9738fb631..6fa4cfc8800 100644
--- a/apps/workflowengine/lib/Check/RequestRemoteAddress.php
+++ b/apps/workflowengine/lib/Check/RequestRemoteAddress.php
@@ -83,7 +83,7 @@ class RequestRemoteAddress implements ICheck {
}
$decodedValue = explode('/', $value);
- if (sizeof($decodedValue) !== 2) {
+ if (count($decodedValue) !== 2) {
throw new \UnexpectedValueException($this->l->t('The given IP range is invalid'), 2);
}