Avoid PHP Notice: Undefined variable: date

This commit is contained in:
savvasha
2018-08-28 10:00:02 +03:00
parent fd0591309d
commit fea34c7ff2

View File

@@ -276,7 +276,7 @@ class SP_AJAX {
$args = array(
'name' => 'date',
'id' => 'date',
'selected' => $date,
//'selected' => $date,
);
sp_dropdown_dates( $args );
?>
@@ -429,7 +429,7 @@ class SP_AJAX {
$args = array(
'name' => 'date',
'id' => 'date',
'selected' => $date,
//'selected' => $date,
);
sp_dropdown_dates( $args );
?>