Browse Source

minitemplator: use proper constructor

Andrew Dolgov 4 years ago
parent
commit
1003f71e04
1 changed files with 1 additions and 1 deletions
  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 --------------------------------------------------------------------------------------