You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/functions/hook-function.php
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -837,7 +837,7 @@ function dashboard_course_count()
837
837
$count = $app->db->course()
838
838
->where('course.currStatus = "A"')->_and_()
839
839
->where('course.endDate IS NULL')->_or_()
840
-
->whereLte('course.endDate','0000-00-00')
840
+
->whereLte('course.endDate','0000-00-00')
841
841
->count('course.courseID');
842
842
843
843
$crseCount = '<div class="col-md-4">';
@@ -872,7 +872,7 @@ function dashboard_acadProg_count()
872
872
$count = $app->db->acad_program()
873
873
->where('acad_program.currStatus = "A"')->_and_()
874
874
->where('acad_program.endDate IS NULL')->_or_()
875
-
->whereLte('acad_program.endDate','0000-00-00')
875
+
->whereLte('acad_program.endDate','0000-00-00')
876
876
->count('acad_program.id');
877
877
878
878
$progCount = '<div class="col-md-4">';
@@ -1839,7 +1839,7 @@ function etsis_enqueue_script()
1839
1839
functionetsis_dev_mode()
1840
1840
{
1841
1841
if (APP_ENV === 'DEV') {
1842
-
echo'<div class="alert dismissable alert-danger center sticky">'._t('Your system is currently in DEV mode. Please remember to set your system back to PROD mode after testing. When PROD mode is set, this warning message will disappear.').'</div>';
1842
+
echo'<div class="alert dismissable alert-danger center sticky">' . _t('Your system is currently in DEV mode. Please remember to set your system back to PROD mode after testing. When PROD mode is set, this warning message will disappear.') . '</div>';
0 commit comments