We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75859c5 commit a20d917Copy full SHA for a20d917
src/Tqdev/PhpCrudApi/Api.php
@@ -62,7 +62,7 @@ public function __construct(Config $config)
62
$config->getPassword(),
63
$config->getGeometrySrid()
64
);
65
- $prefix = sprintf('phpcrudapi-%s-', substr($config->getUID()), 0, 8);
+ $prefix = sprintf('phpcrudapi-%s-', substr($config->getUID(), 0, 8));
66
$cache = CacheFactory::create($config->getCacheType(), $prefix, $config->getCachePath());
67
$reflection = new ReflectionService($db, $cache, $config->getCacheTime());
68
$responder = new JsonResponder($config->getJsonOptions(), $config->getDebug());
0 commit comments