fix upload hour so it's 24hr instead of always AM (#3480)

correct an error where logUpload was trying to save 12-hr time to a 24-hr field, e.g. 15:00 (3pm) was becoming 3:00 (3am)
This commit is contained in:
itsupportcmsukorg 2017-04-07 03:48:15 +01:00 committed by snipe
parent 961c019554
commit 89ba221765

View file

@ -157,7 +157,7 @@ trait Loggable
$log->user_id = Auth::user()->id;
$log->note = $note;
$log->target_id = null;
$log->created_at = date("Y-m-d h:i:s");
$log->created_at = date("Y-m-d H:i:s");
$log->filename = $filename;
$log->logaction('uploaded');