mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-26 02:51:04 +00:00
Add forgotten $ sign
Php was defaulting httpcodeOK to 'httpcodeOK' which always evaluates to true (which is incorrect)
This commit is contained in:
parent
bf1be2bf49
commit
69fc326c98
1 changed files with 1 additions and 1 deletions
|
@ -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('#<meta .*charset=.*>#Usi', $data, $meta);
|
||||
|
|
Loading…
Reference in a new issue