]> git.wh0rd.org - tt-rss.git/commitdiff
minitemplator: use proper constructor
authorAndrew Dolgov <noreply@madoka.volgo-balt.ru>
Wed, 17 Feb 2016 09:29:42 +0000 (12:29 +0300)
committerAndrew Dolgov <noreply@madoka.volgo-balt.ru>
Wed, 17 Feb 2016 09:29:42 +0000 (12:29 +0300)
lib/MiniTemplator.class.php

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