1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 20:57:26 +02:00

Issue #1746 - Downloads datestamp not being saved correctly.

This commit is contained in:
Cameron
2016-06-30 08:50:35 -07:00
parent 3c5019d29f
commit a985a6e9b1

View File

@@ -1699,7 +1699,7 @@ $columnInfo = array(
$dlInfo['download_comment'] = $tp->toDB($_POST['download_comment']); $dlInfo['download_comment'] = $tp->toDB($_POST['download_comment']);
$dlInfo['download_class'] = $tp->toDB($_POST['download_class']); $dlInfo['download_class'] = $tp->toDB($_POST['download_class']);
$dlInfo['download_visible'] = $tp->toDB($_POST['download_visible']); $dlInfo['download_visible'] = $tp->toDB($_POST['download_visible']);
$dlInfo['download_datestamp'] = e107::getDate()->convert($_POST['download_datestamp'],'inputdate'); $dlInfo['download_datestamp'] = intval($_POST['download_datestamp']);
if($_POST['update_datestamp']) if($_POST['update_datestamp'])