Blob Blame History Raw
From 8efbb3167b376cc927be60817e47b07e25886eaa Mon Sep 17 00:00:00 2001
From: Remi Collet <fedora@famillecollet.com>
Date: Wed, 26 Aug 2015 09:02:33 +0200
Subject: [PATCH] fix construct and parent call

---
 XML/RSS.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/XML/RSS.php b/XML/RSS.php
index 074ef11..0a3e066 100755
--- a/XML/RSS.php
+++ b/XML/RSS.php
@@ -174,12 +174,12 @@ class XML_RSS extends XML_Parser
      * @return void
      * @access public
      */
-    function XML_RSS($handle = '', $srcenc = null, $tgtenc = null)
+    function __construct($handle = '', $srcenc = null, $tgtenc = null)
     {
         if ($srcenc === null && $tgtenc === null) {
-            $this->XML_Parser();
+            parent::__construct();
         } else {
-            $this->XML_Parser($srcenc, 'event', $tgtenc);
+            parent::__construct($srcenc, 'event', $tgtenc);
         }
 
         $this->setInput($handle);