From f63355451d9a3618bc21e621a1b019eefc6fc48a Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 20 Dec 2010 18:28:21 -0500 Subject: [PATCH] fixup exception constructor for php 5.2 --- lib/oembedhelper.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/oembedhelper.php b/lib/oembedhelper.php index 84cf105867..4b3559ffd8 100644 --- a/lib/oembedhelper.php +++ b/lib/oembedhelper.php @@ -299,6 +299,10 @@ class oEmbedHelper class oEmbedHelper_Exception extends Exception { + public function __construct($message = "", $code = 0, $previous = null) + { + parent::__construct($message, $code, $previous); + } } class oEmbedHelper_BadHtmlException extends oEmbedHelper_Exception -- 2.39.5