Rename missed interface

This commit is contained in:
Timothy Warren 2015-11-10 11:10:15 -05:00
parent b5a141ffc7
commit fd98c4b3b8
2 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ namespace Query;
* @package Query
* @subpackage Drivers
*/
interface SQL_Interface {
interface SQLInterface {
/**
* Get database specific sql for limit clause

View File

@ -179,9 +179,9 @@ if ( ! function_exists('regex_in_array'))
foreach($array as $item)
{
if (is_scalar($item))
if (is_scalar($item) && preg_match($pattern, $item))
{
if (preg_match($pattern, $item)) return TRUE;
return TRUE;
}
}