Revert "Coding convention applied - part 1"

This commit is contained in:
Hypolite Petovan
2017-03-21 12:02:59 -04:00
committed by GitHub
parent 9c2c483996
commit 7b352f3f74
181 changed files with 3507 additions and 4338 deletions

View File

@@ -59,7 +59,7 @@ function parse_url_content(App $a) {
$redirects = 0;
// Fetch the header of the URL
$result = z_fetch_url($url, false, $redirects, array("novalidate" => true, "nobody" => true));
if ($result["success"]) {
if($result["success"]) {
// Convert the header fields into an array
$hdrs = array();
$h = explode("\n", $result["header"]);
@@ -71,7 +71,7 @@ function parse_url_content(App $a) {
$type = $hdrs["Content-Type"];
}
if ($type) {
if (stripos($type, "image/") !== false) {
if(stripos($type, "image/") !== false) {
echo $br . "[img]" . $url . "[/img]" . $br;
killme();
}