Explorar el Código

minitemplator: use proper constructor

Andrew Dolgov hace 8 años
padre
commit
1003f71e04
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 --------------------------------------------------------------------------------------