Skip to content

Instantly share code, notes, and snippets.

@ilyaevseev
Created March 21, 2014 11:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ilyaevseev/a96c94e37cd67d3dcc12 to your computer and use it in GitHub Desktop.
Save ilyaevseev/a96c94e37cd67d3dcc12 to your computer and use it in GitHub Desktop.
--- sphinxapi.php.orig 2013-07-02 00:55:44.000000000 +0200
+++ sphinxapi.php 2014-03-21 11:52:10.000000000 +0100
@@ -847,2 +847,2 @@
- assert ( is_float($min) );
- assert ( is_float($max) );
+ assert ( is_float($min) || is_numeric($min) );
+ assert ( is_float($max) || is_numeric($max) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment