Fixing style errors.
This commit is contained in:
parent
b739e7ba22
commit
95be7e8a63
@ -23,9 +23,9 @@ if (!empty($extrafieldsobjectkey) && !empty($search_array_options) && is_array($
|
|||||||
|
|
||||||
if ($crit != '' && in_array($typ, array('date', 'datetime', 'timestamp')))
|
if ($crit != '' && in_array($typ, array('date', 'datetime', 'timestamp')))
|
||||||
{
|
{
|
||||||
if($typ == 'date'){
|
if ($typ == 'date'){
|
||||||
$sql .= " AND ".$extrafieldsobjectprefix.$tmpkey." = DATE('".$db->idate($crit)."')";
|
$sql .= " AND ".$extrafieldsobjectprefix.$tmpkey." = DATE('".$db->idate($crit)."')";
|
||||||
}else{
|
}else {
|
||||||
$sql .= " AND ".$extrafieldsobjectprefix.$tmpkey." = '".$db->idate($crit)."'";
|
$sql .= " AND ".$extrafieldsobjectprefix.$tmpkey." = '".$db->idate($crit)."'";
|
||||||
}
|
}
|
||||||
} elseif (in_array($typ, array('boolean')))
|
} elseif (in_array($typ, array('boolean')))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user