summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pear/Mail.php2
1 files changed, 1 insertions, 1 deletions
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);
}
}