Commit 9f358705 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

dev #72825 fix failures

parent 8ea65c31
Pipeline #4427 passed with stage
in 34 minutes and 39 seconds
......@@ -106,7 +106,7 @@ class Class_Profil_Preferences_Loans {
'Title',
'Author',
'Library',
'ReturnDate',
'ReturnDateWithAction',
'Informations'
];
}
......@@ -329,7 +329,6 @@ class Class_Profil_Preferences_LoansReturnDatePnb extends Class_Profil_Preferenc
public function renderWith($view_helper, $loan) {
return date('d/m/Y', strtotime(parent::renderWith($view_helper,$loan)));
}
}
......@@ -346,7 +345,8 @@ class Class_Profil_Preferences_LoansReturnDateHistory extends Class_Profil_Prefe
class Class_Profil_Preferences_LoansReturnDateWithAction extends Class_Profil_Preferences_LoansReturnDate {
public function renderWith($view_helper, $loan) {
return parent::renderWith($view_helper,$loan). ' ' . $view_helper->abonne_LoanAction($loan);
$view = $view_helper->view;
return parent::renderWith($view_helper, $loan). ' ' . $view->abonne_LoanAction($loan);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment