diff options
Diffstat (limited to 'src/search_php.h')
-rw-r--r-- | src/search_php.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/search_php.h b/src/search_php.h index 7f24842..4213b19 100644 --- a/src/search_php.h +++ b/src/search_php.h @@ -193,6 +193,10 @@ "\n" "function compare_rank($a,$b)\n" "{\n" +" if ($a[\"rank\"] == $b[\"rank\"]) \n" +" {\n" +" return 0;\n" +" }\n" " return ($a[\"rank\"]>$b[\"rank\"]) ? -1 : 1; \n" "}\n" "\n" |