commit
35b862dd1b
@ -188,7 +188,7 @@ if ($date && $dateIsValid) {
|
||||
if ($mode == 'future') {
|
||||
$sql .= " AND sm.datem <= '".$db->idate($dateendofday)."'";
|
||||
} else {
|
||||
$sql .= " AND sm.datem >= '".$db->idate($date)."'";
|
||||
$sql .= " AND sm.datem >= '".$db->idate($dateendofday)."'";
|
||||
}
|
||||
if ($productid > 0) {
|
||||
$sql .= " AND sm.fk_product = ".((int) $productid);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user