Skip to content

Commit

Permalink
Update characters.php
Browse files Browse the repository at this point in the history
Bug fixed.
  • Loading branch information
gloireTR authored Oct 12, 2020
1 parent 4cbc14d commit f3b82cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/characters/characters.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function controlAndGetTitle()
if (isset($titleArr[1][0]) || !empty($titleArr[1][0])) {
return $titleArr[1][0];
} else {
preg_match_all(parent::PATTERN_SECOND_CHAR_TITLE, $this->$html, $titleArr);
preg_match_all(parent::PATTERN_SECOND_CHAR_TITLE, $this->html, $titleArr);
if (isset($titleArr[1][0]) || !empty($titleArr[1][0])) {
return $titleArr[1][0];
} else {
Expand Down

0 comments on commit f3b82cb

Please sign in to comment.