Update set paths bug, Update core JS, fix basic class bug
SITE LANG settings had double ;; Updated the edit.js core JS parts Fixed bug in date compare with wrong variable name
This commit is contained in:
@@ -1427,7 +1427,7 @@ class Basic
|
||||
public static function compareDateTime($start_datetime, $end_datetime)
|
||||
{
|
||||
// pre check for empty or wrong
|
||||
if ($start_date == '--' || $end_date == '--' || !$start_date || !$end_date) {
|
||||
if ($start_datetime == '--' || $end_datetime == '--' || !$start_datetime || !$end_datetime) {
|
||||
return false;
|
||||
}
|
||||
$start_timestamp = strtotime($start_datetime);
|
||||
|
||||
Reference in New Issue
Block a user