Code Duplication    Length = 3-3 lines in 3 locations

admin/validate_ads.php 1 location

@@ 823-825 (lines=3) @@
820
    $lid = Request::getInt('lid', 0, 'GET');
821
}
822
823
if (!Request::hasVar('op', 'POST') && Request::hasVar('op', 'GET')) {
824
    $op = Request::getString('op', '', 'GET');
825
}
826
827
if (!isset($op)) {
828
    $op = '';

admin/view_ads.php 1 location

@@ 755-757 (lines=3) @@
752
    $lid = Request::getInt('lid', 0, 'GET');
753
}
754
755
if (!Request::hasVar('op', 'POST') && Request::hasVar('op', 'GET')) {
756
    $op = Request::getString('op', '', 'GET');
757
}
758
759
if (!isset($op)) {
760
    $op = '';

modify.php 1 location

@@ 429-431 (lines=3) @@
426
if (!Request::hasVar('r_lid', 'POST') && Request::hasVar('r_lid', 'GET')) {
427
    $r_lid = Request::getInt('r_lid', '', 'GET');
428
}
429
if (!Request::hasVar('op', 'POST') && Request::hasVar('op', 'GET')) {
430
    $op = Request::getString('op', '', 'GET');
431
}
432
switch ($op) {
433
434
    case 'ModAd':