Fixing style errors.
This commit is contained in:
parent
c39dbd81b3
commit
d108496c67
@ -23,11 +23,11 @@ if (!empty($extrafieldsobjectkey) && !empty($search_array_options) && is_array($
|
||||
|
||||
if ($crit != '' && in_array($typ, array('date', 'datetime', 'timestamp')))
|
||||
{
|
||||
if($typ == 'date'){
|
||||
if ($typ == 'date'){
|
||||
include_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
|
||||
$crit = dol_get_first_hour($crit);
|
||||
$sql .= " AND ".$extrafieldsobjectprefix.$tmpkey." = '".$db->idate($crit)."'";
|
||||
}else{
|
||||
}else {
|
||||
$sql .= " AND ".$extrafieldsobjectprefix.$tmpkey." = '".$db->idate($crit)."'";
|
||||
}
|
||||
} elseif (in_array($typ, array('boolean')))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user