From: x2000habouzit Date: Tue, 2 Nov 2004 08:10:55 +0000 (+0000) Subject: closes FS#158 X-Git-Tag: xorg/old~1093 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=90b09f43033e669bbe7ff1505de234424893309d;p=platal.git closes FS#158 --- 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}'"); } }