Code Duplication    Length = 4-4 lines in 2 locations

geodirectory-functions/shortcode_functions.php 1 location

@@ 611-614 (lines=4) @@
608
        $query_args['show_special_only'] = 1;
609
    }
610
611
    if (!empty($args['with_pics_only'])) {
612
        $query_args['with_pics_only'] = 0;
613
        $query_args['featured_image_only'] = 1;
614
    }
615
616
    if (!empty($args['with_videos_only'])) {
617
        $query_args['with_videos_only'] = 1;

geodirectory-functions/general_functions.php 1 location

@@ 3300-3303 (lines=4) @@
3297
        $query_args['show_special_only'] = 1;
3298
    }
3299
3300
    if (!empty($instance['with_pics_only'])) {
3301
        $query_args['with_pics_only'] = 0;
3302
        $query_args['featured_image_only'] = 1;
3303
    }
3304
3305
    if (!empty($instance['with_videos_only'])) {
3306
        $query_args['with_videos_only'] = 1;