• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修訂14d3296cd838083739238911e95b1c39eeaf4e5a (tree)
時間2021-09-26 21:20:43
作者umorigu <umorigu@gmai...>
Commiterumorigu

Log Message

BugTrack/2514 PHP8: Link_autoalias constructor

Change Summary

差異

--- a/lib/make_link.php
+++ b/lib/make_link.php
@@ -779,9 +779,13 @@ class Link_autoalias extends Link
779779
780780 function Link_autoalias($start)
781781 {
782+ $this->__construct($start);
783+ }
784+ function __construct($start)
785+ {
782786 global $autoalias, $aliaspage;
783787
784- parent::Link($start);
788+ parent::__construct($start);
785789
786790 if (! $autoalias || ! file_exists(CACHE_DIR . PKWK_AUTOALIAS_REGEX_CACHE) || $this->page == $aliaspage)
787791 {
@@ -827,7 +831,11 @@ class Link_autoalias_a extends Link_autoalias
827831 {
828832 function Link_autoalias_a($start)
829833 {
830- parent::Link_autoalias($start);
834+ $this->__construct($start);
835+ }
836+ function __construct($start)
837+ {
838+ parent::__construct($start);
831839 }
832840 function get_pattern()
833841 {