aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2013-09-13 17:38:17 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2013-09-13 17:38:17 +0200
commit716fd429ce72dc1d4c7a7d401594e35a725b41a8 (patch)
tree190622e93a3d0282e1a47ff7529ea916bc5dbaa2
parent420796148cc9c70c145767fe9c14f9e8a747a895 (diff)
downloadStream-716fd429ce72dc1d4c7a7d401594e35a725b41a8.zip
Stream-716fd429ce72dc1d4c7a7d401594e35a725b41a8.tar.gz
Stream-716fd429ce72dc1d4c7a7d401594e35a725b41a8.tar.bz2
Fix wrapper registration.
-rw-r--r--Wrapper/Wrapper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Wrapper/Wrapper.php b/Wrapper/Wrapper.php
index 8577ea8..06cd1fc 100644
--- a/Wrapper/Wrapper.php
+++ b/Wrapper/Wrapper.php
@@ -122,7 +122,7 @@ class Wrapper {
*/
public static function isRegistered ( $protocol ) {
- return in_array($name, self::getRegistered());
+ return in_array($protocol, self::getRegistered());
}
/**