mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-22 20:59:55 +09:00
#19690852 Refactoring: replaced gettype() with the appropriate is_* functions in PHP. It is not recommended to use gettype to test for a certain type - see PHP documentation.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8308 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f6f393ae31
commit
8d2f988ee6
1 changed files with 1 additions and 1 deletions
|
|
@ -581,7 +581,7 @@
|
|||
foreach ($val['condition'] as $v) {
|
||||
if (!isset ($v['value'])) continue;
|
||||
if ($v['value'] === '') continue;
|
||||
if(!in_array(gettype($v['value']), array('string', 'integer', 'double', 'array'))) continue;
|
||||
if(!is_string($value) && !is_integer($value) && !is_float($value) && !is_array($value)) continue;
|
||||
|
||||
$name = $v['column'];
|
||||
$operation = $v['operation'];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue