Code Duplication    Length = 3-3 lines in 2 locations

admin/main.php 2 locations

@@ 808-810 (lines=3) @@
805
806
        $item->setVars($_POST);
807
808
        if (isset($_POST['delpicture1']) && (int)$_POST['delpicture1'] == 1) {
809
            $item->setVar('auth_photo1', '');
810
        }
811
        if (isset($_POST['delpicture2']) && (int)$_POST['delpicture2'] == 1) {
812
            $item->setVar('auth_photo2', '');
813
        }
@@ 1425-1427 (lines=3) @@
1422
        }
1423
1424
        $item->setVars($_POST);
1425
        if (isset($_POST['delpicture1']) && (int)$_POST['delpicture1'] == 1) {
1426
            $item->setVar('book_image_url', '');
1427
        }
1428
1429
        if (isset($_POST['delpicture2']) && (int)$_POST['delpicture2'] == 1) {
1430
            $item->setVar('book_thumb_url', '');