summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Rey <[email protected]>2018-11-03 12:21:34 +0000
committerAndres Rey <[email protected]>2018-11-03 12:21:34 +0000
commitde4334b8189b6697497194551f69ae26299a7a6c (patch)
treefc201ffbc61eb66e0bf9e69863f4ac04ee78c0e2
parenta309b0a688d26e48e362448734f318ac5a0c6490 (diff)
Fix wrong variable name when checking length of byline
-rw-r--r--src/Readability.php2
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;