Avoid PHP Notice: Undefined variable: date
This commit is contained in:
@@ -276,7 +276,7 @@ class SP_AJAX {
|
|||||||
$args = array(
|
$args = array(
|
||||||
'name' => 'date',
|
'name' => 'date',
|
||||||
'id' => 'date',
|
'id' => 'date',
|
||||||
'selected' => $date,
|
//'selected' => $date,
|
||||||
);
|
);
|
||||||
sp_dropdown_dates( $args );
|
sp_dropdown_dates( $args );
|
||||||
?>
|
?>
|
||||||
@@ -429,7 +429,7 @@ class SP_AJAX {
|
|||||||
$args = array(
|
$args = array(
|
||||||
'name' => 'date',
|
'name' => 'date',
|
||||||
'id' => 'date',
|
'id' => 'date',
|
||||||
'selected' => $date,
|
//'selected' => $date,
|
||||||
);
|
);
|
||||||
sp_dropdown_dates( $args );
|
sp_dropdown_dates( $args );
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user