mirror of
https://github.com/YGGverse/Yo.git
synced 2026-04-01 02:05:29 +00:00
fix url check conditions
This commit is contained in:
parent
ff8b88f49b
commit
133548a98c
4 changed files with 9 additions and 9 deletions
|
|
@ -28,7 +28,7 @@ $url = trim($argv[1]);
|
|||
$crc32url = crc32($url);
|
||||
|
||||
// Check URL for exist
|
||||
$result = $index->search('@url "' . $url . '"')
|
||||
$result = $index->search('')
|
||||
->filter('crc32url', $crc32url)
|
||||
->limit(1)
|
||||
->get();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue