浏览代码

minitemplator: use proper constructor

Andrew Dolgov 8 年之前
父节点
当前提交
1003f71e04
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/MiniTemplator.class.php

+ 1 - 1
lib/MiniTemplator.class.php

@@ -160,7 +160,7 @@ var $outputString;                    // string buffer for the generated HTML pa
 * Constructs a MiniTemplator object.
 * @access public
 */
-function MiniTemplator() {
+function __construct() {
    $this->templateValid = false; }
 
 //--- template string handling --------------------------------------------------------------------------------------