Skip to content

Commit

Permalink
Update without hope
Browse files Browse the repository at this point in the history
Please forgive me, my lov
  • Loading branch information
buitenzorg812 authored Apr 7, 2018
1 parent 61c6582 commit 48a6007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/default/home.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
$overdue_q = $dbs->query('SELECT COUNT(loan_id) FROM loan AS l WHERE (l.is_lent=1 AND l.is_return=0 AND TO_DAYS(due_date) < TO_DAYS(\''.date('Y-m-d').'\')) GROUP BY member_id');
$num_overdue = $overdue_q->num_rows;
if ($num_overdue > 0) {
$warnings[] = str_replace('{num_overdue}', $num_overdue, __('There are currently <strong>{num_overdue}</strong> records being overdue. Please check at <b>Circulation</b> module at <b>Overdues</b> section for more detail')); //mfc
$warnings[] = str_replace('{num_overdue}', $num_overdue, __('There are currently <strong>{num_overdue}</strong> library members having overdue. Please check at <b>Circulation</b> module at <b>Overdues</b> section for more detail')); //mfc
$overdue_q->free_result();
}
// check if images dir is writable or not
Expand Down

0 comments on commit 48a6007

Please sign in to comment.