From 47419f899f88af6d58b2216d1db71be9edb4f85e Mon Sep 17 00:00:00 2001 From: "Tomas V.V.Cox" Date: Mon, 17 Dec 2001 15:33:34 +0000 Subject: [PATCH] call PEAR::raiseError() instead of $this->raiseError() in factory() --- pear/Mail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pear/Mail.php b/pear/Mail.php index ef4a3fc050..0141faaecb 100644 --- a/pear/Mail.php +++ b/pear/Mail.php @@ -48,7 +48,7 @@ class Mail extends PEAR if (class_exists($class)) { return new $class($params); } else { - return $this->raiseError('Unable to find class for driver ' . $driver); + return PEAR::raiseError('Unable to find class for driver ' . $driver); } } -- 2.50.1