minitemplator: use proper constructor

This commit is contained in:
Andrew Dolgov 2016-02-17 12:29:42 +03:00
parent 3261dbfa21
commit 1003f71e04
1 changed files with 1 additions and 1 deletions

View File

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