Skip to content

Commit

Permalink
Update FormAbstractServiceFactory.php
Browse files Browse the repository at this point in the history
  • Loading branch information
jmleroux committed Feb 17, 2014
1 parent 3c40098 commit 8c485ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Zend/Form/FormAbstractServiceFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function canCreateServiceWithName(ServiceLocatorInterface $serviceLocator
return false;
}

return (isset($config[$rName]) && is_array($config[$rName]) && !empty($config[$rName]));
return (isset($config[$requestedName]) && is_array($config[$requestedName]) && !empty($config[$requestedName]));
}

/**
Expand Down

0 comments on commit 8c485ad

Please sign in to comment.