Fix variable name.
authorJan Schneider <jan@horde.org>
Fri, 22 Oct 2010 17:02:02 +0000 (19:02 +0200)
committerJan Schneider <jan@horde.org>
Fri, 22 Oct 2010 17:27:03 +0000 (19:27 +0200)
components/lib/Components/Pear/Factory.php

index a84c815..3ed4f83 100644 (file)
@@ -220,7 +220,7 @@ class Components_Pear_Factory
         );
 
         if ($package_rw_file instanceOf PEAR_Error) {
-            throw new Components_Exception($package_file->getMessage());
+            throw new Components_Exception($package_rw_file->getMessage());
         }
         return $package_rw_file;
     }