From: Fatih Orhan Date: Thu, 4 Apr 2013 08:20:23 +0000 (+0300) Subject: Add forgotten $ sign X-Git-Tag: 0.1~73^2~1 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=69fc326c9880c281f8a5c9c5b71100a414971912;hp=bf1be2bf4971688dfe925699c3797dac319cd4b8;p=github%2Fwallabag%2Fwallabag.git Add forgotten $ sign Php was defaulting httpcodeOK to 'httpcodeOK' which always evaluates to true (which is incorrect) --- diff --git a/readityourself.php b/readityourself.php index 4a4661c2..2071b417 100755 --- a/readityourself.php +++ b/readityourself.php @@ -92,7 +92,7 @@ function get_external_file($url, $timeout) { } // if response is not empty and response is OK - if (isset($data) and isset($httpcodeOK) and httpcodeOK ) { + if (isset($data) and isset($httpcodeOK) and $httpcodeOK ) { // take charset of page and get it preg_match('##Usi', $data, $meta);