@@ -36,8 +36,11 @@ |
||
| 36 | 36 | $contents = curl_exec($c); |
| 37 | 37 | curl_close($c); |
| 38 | 38 | |
| 39 | - if ($contents) return $contents; |
|
| 40 | - else return FALSE; |
|
| 39 | + if ($contents) { |
|
| 40 | + return $contents; |
|
| 41 | + } else { |
|
| 42 | + return FALSE; |
|
| 43 | + } |
|
| 41 | 44 | } |
| 42 | 45 | |
| 43 | 46 | /** |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | curl_close($c); |
| 38 | 38 | |
| 39 | 39 | if ($contents) return $contents; |
| 40 | - else return FALSE; |
|
| 40 | + else return false; |
|
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | /** |