File | Lines added | Lines deleted |
---|---|---|
inc/wh/amazon.inc.php | 2 | 1 |
File inc/wh/amazon.inc.php changed (mode: 100644) (index c8f3c4d..049f76b) | |||
... | ... | function rg_amazon_req($a) | |
160 | 160 | $_info = curl_getinfo($c); | $_info = curl_getinfo($c); |
161 | 161 | rg_log_ml('Debug: ' . print_r($_info, TRUE)); | rg_log_ml('Debug: ' . print_r($_info, TRUE)); |
162 | 162 | ||
163 | if ($_info['http_code'] != 200) { | ||
163 | if (($_info['http_code'] != 200) | ||
164 | && ($_info['http_code'] != 301)) { | ||
164 | 165 | $ret['error'] = $r; | $ret['error'] = $r; |
165 | 166 | break; | break; |
166 | 167 | } | } |