Subversion Repositories cheapmusic

Rev

Rev 101 | Rev 104 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 101 Rev 102
Line 147... Line 147...
147
        else {
147
        else {
148
            $barcode = "";
148
            $barcode = "";
149
        }
149
        }
150
        $barcodeType = clsLibGTIN::GTINCheck($barcode, false, 1);
150
        $barcodeType = clsLibGTIN::GTINCheck($barcode, false, 1);
151
 
151
 
152
        $pic = !empty($item->Images->Primary->Medium->URL) ? (string)$item->Images->Primary->Medium->URL : "images/no-image-available.jpg";
152
        $pic = !empty($current->Images->Primary->Medium->URL) ? (string)$current->Images->Primary->Medium->URL : "images/no-image-available.jpg";
153
        $pic = str_replace('http://', 'https://', $pic);
153
        $pic = str_replace('http://', 'https://', $pic);
154
        if (empty($pic)) {
154
        if (empty($pic)) {
155
            continue;
155
            continue;
156
        }
156
        }
157
 
157