Bug correction in minutes handling in payback
This commit is contained in:
parent
ccb89358bf
commit
2fc4311c54
@ -56,9 +56,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function setDate($minute, $hour, $day, $month, $year) {
|
public function setDate($minute, $hour, $day, $month, $year) {
|
||||||
if((int) $minute < 10) $minute = '0'.$minute;
|
$this->date = DateTime::createFromFormat('Y-n-j G:i', (int) $year.'-'.(int) $month.'-'.(int) $day.' '.(int) $hour.':'.$minute);
|
||||||
|
|
||||||
$this->date = DateTime::createFromFormat('Y-n-j G:i', $year.'-'.(int) $month.'-'.(int) $day.' '.(int) $hour.':'.$minute);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setInvoice($invoice_id) {
|
public function setInvoice($invoice_id) {
|
||||||
|
Loading…
Reference in New Issue
Block a user