diff options
author | Andres Rey <[email protected]> | 2018-11-03 12:21:34 +0000 |
---|---|---|
committer | Andres Rey <[email protected]> | 2018-11-03 12:21:34 +0000 |
commit | de4334b8189b6697497194551f69ae26299a7a6c (patch) | |
tree | fc201ffbc61eb66e0bf9e69863f4ac04ee78c0e2 | |
parent | a309b0a688d26e48e362448734f318ac5a0c6490 (diff) |
Fix wrong variable name when checking length of byline
-rw-r--r-- | src/Readability.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Readability.php b/src/Readability.php index 7caf838..ff07c11 100644 --- a/src/Readability.php +++ b/src/Readability.php @@ -785,7 +785,7 @@ class Readability if (gettype($text) == 'string') { $byline = trim($text); - return (mb_strlen($byline) > 0) && (mb_strlen($text) < 100); + return (mb_strlen($byline) > 0) && (mb_strlen($byline) < 100); } return false; |