Corrected a database field name
This commit is contained in:
parent
ae8b73cb88
commit
1b8c2e1e18
@ -91,7 +91,7 @@ class Loan extends Event {
|
||||
from `loan_extension` where `loan`=?');
|
||||
bind($select, 'i', $this->get_id());
|
||||
execute($select);
|
||||
return result_single($select)['max(`extend_time`)'];
|
||||
return result_single($select)['extend_time'];
|
||||
}
|
||||
|
||||
public function end() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user