Skip to content

Commit 9308b06

Browse files
committed
fix variable reference
1 parent 909fa3d commit 9308b06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codepoints.net/lib/Api/Runner/Search.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ protected function handle_request(string $data) : Array {
2929
if (substr($query, 0, 1) === 'k') {
3030
/* see lib/Controller/Search.php for an explanation for this
3131
* rate limiter. */
32-
new RateLimiter(20, 60*60*24, $env['db']);
32+
new RateLimiter(20, 60*60*24, $this->env['db']);
3333
}
3434
$controller = new SearchController();
3535
list($search_result, $pagination) = $controller->getSearchResult($query, $this->env);

0 commit comments

Comments
 (0)