Rename missed interface
This commit is contained in:
parent
b5a141ffc7
commit
fd98c4b3b8
@ -21,7 +21,7 @@ namespace Query;
|
|||||||
* @package Query
|
* @package Query
|
||||||
* @subpackage Drivers
|
* @subpackage Drivers
|
||||||
*/
|
*/
|
||||||
interface SQL_Interface {
|
interface SQLInterface {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get database specific sql for limit clause
|
* Get database specific sql for limit clause
|
||||||
|
@ -179,9 +179,9 @@ if ( ! function_exists('regex_in_array'))
|
|||||||
|
|
||||||
foreach($array as $item)
|
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user