]> jfr.im git - uguu.git/blobdiff - static/php/includes/Core.namespace.php
refactoring
[uguu.git] / static / php / includes / Core.namespace.php
index 1626ff2e006b55d6ec42f16a6a6487a2b078be68..fcd1d50af12c864c5e35031c3ab27767f93dac89 100644 (file)
@@ -350,7 +350,7 @@ namespace Core {
                 $q->bindValue(':orig', Upload::$FILE_NAME, PDO::PARAM_STR);
                 $q->bindValue(':name', Upload::$NEW_NAME_FULL, PDO::PARAM_STR);
                 $q->bindValue(':size', Upload::$FILE_SIZE, PDO::PARAM_INT);
-                $q->bindValue(':date', time(), PDO::PARAM_STR);
+                $q->bindValue(':date', time(), PDO::PARAM_INT);
                 $q->bindValue(':ip', Upload::$IP, PDO::PARAM_STR);
                 $q->execute();
             } catch (Exception) {