mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 00:31:58 +01:00
Fixed the default response for sphinx query()
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
fcc40c77be
commit
7519da6743
@ -29,6 +29,8 @@ class Sphinx {
|
||||
$query->error = 1;
|
||||
$query->errmsg = "Error";
|
||||
$query->query = $sql;
|
||||
$query->num_rows = 0;
|
||||
$query->rows = [];
|
||||
$query->total_found = 0;
|
||||
|
||||
$time_start = microtime(true);
|
||||
|
Loading…
Reference in New Issue
Block a user