From 90b09f43033e669bbe7ff1505de234424893309d Mon Sep 17 00:00:00 2001 From: x2000habouzit Date: Tue, 2 Nov 2004 08:10:55 +0000 Subject: [PATCH] closes FS#158 --- include/valid_photos.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/valid_photos.inc.php b/include/valid_photos.inc.php index 8f291d7..d20f97d 100644 --- a/include/valid_photos.inc.php +++ b/include/valid_photos.inc.php @@ -18,7 +18,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: valid_photos.inc.php,v 1.12 2004-09-02 21:09:32 x2000habouzit Exp $ + $Id: valid_photos.inc.php,v 1.13 2004-11-02 08:10:55 x2000habouzit Exp $ ***************************************************************************/ @@ -107,6 +107,7 @@ class PhotoReq extends Validate { $globals->db->query("REPLACE INTO photo set uid='".$this->uid."', attachmime = '".$this->mimetype."', attach='" .addslashes($this->data)."', x='".$this->x."', y='".$this->y."'"); + $globals->db->query("UPDATE auth_user_md5 SET date=NOW() WHERE user_id='{$this->uid}'"); } } -- 2.1.4