Code Duplication    Length = 3-3 lines in 3 locations

admin/validate_ads.php 1 location

@@ 866-868 (lines=3) @@
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');
868
}
869
870
if (!isset($op)) {
871
    $op = '';

admin/view_ads.php 1 location

@@ 801-803 (lines=3) @@
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');
803
}
804
805
if (!isset($op)) {
806
    $op = '';

modify.php 1 location

@@ 449-451 (lines=3) @@
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
}
452
switch ($op) {
453
454
    case 'ModAd':