Code Duplication    Length = 3-3 lines in 4 locations

admin/validate_ads.php 1 location

@@ 862-864 (lines=3) @@
859
860
$pa = Request::getInt('pa', '', 'GET');
861
862
if (!Request::hasVar('lid', 'POST') && Request::hasVar('lid', 'GET')) {
863
    $lid = Request::getInt('lid', 0, 'GET');
864
}
865
866
if (!Request::hasVar('op', 'POST') && Request::hasVar('op', 'GET')) {
867
    $op = Request::getString('op', '', 'GET');

admin/view_ads.php 1 location

@@ 797-799 (lines=3) @@
794
795
$pa      = Request::getInt('pa', '', 'GET');
796
797
if (!Request::hasVar('lid', 'POST') && Request::hasVar('lid', 'GET')) {
798
    $lid = Request::getInt('lid', 0, 'GET');
799
}
800
801
if (!Request::hasVar('op', 'POST') && Request::hasVar('op', 'GET')) {
802
    $op = Request::getString('op', '', 'GET');

modify.php 2 locations

@@ 443-445 (lines=3) @@
440
}
441
$ok = Request::getString('ok', '', 'GET');
442
443
if (!Request::hasVar('lid', 'POST') && Request::hasVar('lid', 'GET')) {
444
    $lid = Request::getInt('lid', 0, 'GET');
445
}
446
if (!Request::hasVar('r_lid', 'POST') && Request::hasVar('r_lid', 'GET')) {
447
    $r_lid = Request::getInt('r_lid', '', 'GET');
448
}
@@ 446-448 (lines=3) @@
443
if (!Request::hasVar('lid', 'POST') && Request::hasVar('lid', 'GET')) {
444
    $lid = Request::getInt('lid', 0, 'GET');
445
}
446
if (!Request::hasVar('r_lid', 'POST') && Request::hasVar('r_lid', 'GET')) {
447
    $r_lid = Request::getInt('r_lid', '', 'GET');
448
}
449
if (!Request::hasVar('op', 'POST') && Request::hasVar('op', 'GET')) {
450
    $op = Request::getString('op', '', 'GET');
451
}