Skip to content

Commit

Permalink
Prioritize Exact Method Name
Browse files Browse the repository at this point in the history
  • Loading branch information
taufik-nurrohman committed Aug 26, 2024
1 parent c526692 commit aa44966
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion about.page
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ icon: 'M19 2L14 6.5V17.5L19 13V2M6.5 5C4.55 5 2.45 5.4 1 6.5V21.16C1 21.41 1.25
color: '#75522f'
author: Taufik Nurrohman
type: Markdown
version: 3.1.2
version: 3.1.3
...

This extension uses the structure of the page file location in the `.\lot\page` folder to enable the basic functions of
Expand Down
3 changes: 3 additions & 0 deletions engine/kernel/page.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ protected function _e($v) {
}

public function __call(string $kin, array $lot = []) {
if (parent::_($kin)) {
return parent::__call($kin, $lot);
}
if (parent::_($kin = p2f($kin))) {
return parent::__call($kin, $lot);
}
Expand Down

0 comments on commit aa44966

Please sign in to comment.