closes FS#158
authorx2000habouzit <x2000habouzit>
Tue, 2 Nov 2004 08:10:55 +0000 (08:10 +0000)
committerx2000habouzit <x2000habouzit>
Tue, 2 Nov 2004 08:10:55 +0000 (08:10 +0000)
include/valid_photos.inc.php

index 8f291d7..d20f97d 100644 (file)
@@ -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}'");
     }
 }