sanitize id computation
[m6w6/pq-gateway] / lib / autoload.php
index d7b0cd8d4bf0ddc165af71a50e61d4e70cb5ee9a..cc5e906a728feaf3fa3e9fa836d2e375af63c2c2 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 spl_autoload_register(function($c) {
-       if (substr($c, 0, 10) === "pq\\Gateway" || susbtr($c, 0, 8) === "pq\\Query") {
+       if (substr($c, 0, 10) === "pq\\Gateway" || substr($c, 0, 8) === "pq\\Query") {
                return include __DIR__ . "/" . strtr($c, "\\", "/") . ".php";
        }
 });