20 lines
608 B
Diff
20 lines
608 B
Diff
diff --git a/library/SimplePie/Registry.php b/library/SimplePie/Registry.php
|
|
index bd9c1f5..dac55e3 100755
|
|
--- a/library/SimplePie/Registry.php
|
|
+++ b/library/SimplePie/Registry.php
|
|
@@ -113,7 +113,7 @@ class SimplePie_Registry
|
|
*/
|
|
public function register($type, $class, $legacy = false)
|
|
{
|
|
- if (!is_subclass_of($class, $this->default[$type]))
|
|
+ if (!@is_subclass_of($class, $this->default[$type]))
|
|
{
|
|
return false;
|
|
}
|
|
@@ -222,4 +222,4 @@ class SimplePie_Registry
|
|
$result = call_user_func_array(array($class, $method), $parameters);
|
|
return $result;
|
|
}
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|