Merge remote-tracking branch 'origin/master'

This commit is contained in:
barwie2@st.amu.edu.pl 2019-12-16 18:38:35 +01:00
commit 634fa8f835

View File

@ -26,7 +26,7 @@ class UserClassesController extends Controller
$current_date = date('Y-m-d H:i:s');
$classes_date = $classes_item->created_at;
$hours_difference = checkHoursDifference($classes_date, $current_date);
if ($hours_difference > 1.5) {
if ($hours_difference > 1.5 ) {
$classes_item->classes_code = null;
$classes_item->save();
$classes_item->refresh();