summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2016-02-17 12:29:42 +0300
committerAndrew Dolgov <[email protected]>2016-02-17 12:29:42 +0300
commit1003f71e0459b4b5e7d5e7b393d0baba02e82808 (patch)
tree9c70bc52b275636032e9bc05496b0c2fc8f8e2d6 /lib
parent3261dbfa216335abb1d3b1c558d14a6cb74f9516 (diff)
minitemplator: use proper constructor
Diffstat (limited to 'lib')
-rw-r--r--lib/MiniTemplator.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MiniTemplator.class.php b/lib/MiniTemplator.class.php
index a139473f9..e70f0a470 100644
--- a/lib/MiniTemplator.class.php
+++ b/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 --------------------------------------------------------------------------------------