@@ -3,7 +3,7 @@
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
- * @version 3.0.3
+ * @version 3.0.4
* @author Taylor Otwell <taylorotwell@gmail.com>
* @link http://laravel.com
*/
@@ -130,7 +130,7 @@ class IoC {
// If the resolver is registering as a singleton resolver, we will cache
// the instance of the object in the container so we can resolve it next
// time without having to instantiate a brand new instance.
- if (isset(static::$registry[$name]['singleton']))
+ if (static::$registry[$name]['singleton'])
{
return static::$singletons[$name] = $object;
}