소스 검색

Forgot to change constructor name

pdontthink 3 년 전
부모
커밋
0d6d3dcf6c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      class/l10n/gettext.class.php

+ 1 - 1
class/l10n/gettext.class.php

@@ -74,7 +74,7 @@ class gettext_reader {
      * @return boolean false, if some error with stream
 TODO: Constructors should not return anything.
      */
-    function gettext_reader($Reader) {
+    function __construct($Reader) {
         $MAGIC1 = (int) ((222) | (18<<8) | (4<<16) | (149<<24));
         $MAGIC2 = (int) ((149) | (4<<8) | (18<<16) | (222<<24));