diff options
Diffstat (limited to 'readityourself.php')
-rwxr-xr-x | readityourself.php | 2 |
1 files changed, 1 insertions, 1 deletions
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) { | |||
92 | } | 92 | } |
93 | 93 | ||
94 | // if response is not empty and response is OK | 94 | // if response is not empty and response is OK |
95 | if (isset($data) and isset($httpcodeOK) and httpcodeOK ) { | 95 | if (isset($data) and isset($httpcodeOK) and $httpcodeOK ) { |
96 | 96 | ||
97 | // take charset of page and get it | 97 | // take charset of page and get it |
98 | preg_match('#<meta .*charset=.*>#Usi', $data, $meta); | 98 | preg_match('#<meta .*charset=.*>#Usi', $data, $meta); |