Code Duplication    Length = 1-6 lines in 2 locations

main/lp/lp_ajax_initialize.php 1 location

@@ 30-30 (lines=1) @@
27
function initialize_item($lp_id, $user_id, $view_id, $next_item) {
28
    global $debug;
29
    $return = '';
30
    if ($debug > 0) { error_log('In initialize_item('.$lp_id.','.$user_id.','.$view_id.','.$next_item.')', 0); }
31
    /*$item_id may be one of:
32
     * -'next'
33
     * -'previous'

main/lp/lp_ajax_switch_item.php 1 location

@@ 31-36 (lines=6) @@
28
{
29
    $debug  = 0;
30
    $return = '';
31
    if ($debug > 0) {
32
        error_log(
33
            'In xajax_switch_item_details('.$lp_id.','.$user_id.','.$view_id.','.$current_item.','.$next_item.')',
34
            0
35
        );
36
    }
37
    //$objResponse = new xajaxResponse();
38
    /*$item_id may be one of:
39
     * -'next'