]> granicus.if.org Git - php/commitdiff
call PEAR::raiseError() instead of $this->raiseError() in factory()
authorTomas V.V.Cox <cox@php.net>
Mon, 17 Dec 2001 15:33:34 +0000 (15:33 +0000)
committerTomas V.V.Cox <cox@php.net>
Mon, 17 Dec 2001 15:33:34 +0000 (15:33 +0000)
pear/Mail.php

index ef4a3fc050e4d57a5be7fd3cce492978d5e71e32..0141faaecb33f3fac8029a550e625c355ed0d480 100644 (file)
@@ -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);
         }
     }