Code Duplication    Length = 3-3 lines in 2 locations

mod/elgg_recaptcha/classes/BrowserDetection.php 2 locations

@@ 198-200 (lines=3) @@
195
        }
196
        if (count($sourceVer) != count($compareVer)) {
197
            if (count($sourceVer) > count($compareVer)) {
198
                for ($i = count($compareVer); $i < count($sourceVer); $i++) {
199
                    $compareVer[$i] = 0;
200
                }
201
            } else {
202
                for ($i = count($sourceVer); $i < count($compareVer); $i++) {
203
                    $sourceVer[$i] = 0;
@@ 202-204 (lines=3) @@
199
                    $compareVer[$i] = 0;
200
                }
201
            } else {
202
                for ($i = count($sourceVer); $i < count($compareVer); $i++) {
203
                    $sourceVer[$i] = 0;
204
                }
205
            }
206
        }
207
        foreach ($sourceVer as $i => $srcVerPart) {