mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
2014-05-19 Vanessa Gil <vanessa.gil@artica.es>
* godmode/agentes/planned_downtime.editor.php: Fixed the date range. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9956 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
348aa0fa00
commit
ef911e8100
@ -1,3 +1,8 @@
|
|||||||
|
2014-05-19 Vanessa Gil <vanessa.gil@artica.es>
|
||||||
|
|
||||||
|
* godmode/agentes/planned_downtime.editor.php: Fixed
|
||||||
|
the date range.
|
||||||
|
|
||||||
2014-05-19 Vanessa Gil <vanessa.gil@artica.es>
|
2014-05-19 Vanessa Gil <vanessa.gil@artica.es>
|
||||||
|
|
||||||
* extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql
|
* extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql
|
||||||
|
@ -152,9 +152,8 @@ if ($create_downtime || $update_downtime) {
|
|||||||
|
|
||||||
$datetime_from = strtotime ($once_date_from . ' ' . $once_time_from);
|
$datetime_from = strtotime ($once_date_from . ' ' . $once_time_from);
|
||||||
$datetime_to = strtotime ($once_date_to . ' ' . $once_time_to);
|
$datetime_to = strtotime ($once_date_to . ' ' . $once_time_to);
|
||||||
|
|
||||||
if (($type_periodicity == 'once') &&
|
if ($datetime_from >= $datetime_to) {
|
||||||
($datetime_from >= $datetime_to)) {
|
|
||||||
ui_print_error_message(__('Not created. Error inserting data' ).
|
ui_print_error_message(__('Not created. Error inserting data' ).
|
||||||
': START >= END');
|
': START >= END');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user