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
ef7d51fb60
commit
e1d0c2d991
|
@ -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>
|
||||
|
||||
* 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_to = strtotime ($once_date_to . ' ' . $once_time_to);
|
||||
|
||||
if (($type_periodicity == 'once') &&
|
||||
($datetime_from >= $datetime_to)) {
|
||||
|
||||
if ($datetime_from >= $datetime_to) {
|
||||
ui_print_error_message(__('Not created. Error inserting data' ).
|
||||
': START >= END');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue