Do not forget to save the photo
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sat, 25 Nov 2006 18:47:51 +0000 (18:47 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sat, 25 Nov 2006 18:47:51 +0000 (18:47 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.12@1168 839d8a87-29fc-0310-9880-83ba4fa771e5

include/validations/photos.inc.php

index fa0f4b3..a9d6028 100644 (file)
@@ -45,6 +45,7 @@ class PhotoReq extends Validate
     function PhotoReq($_uid, $_data, $_stamp=0)
     {
         $this->Validate($_uid, true, 'photo', $_stamp);
+        $this->_get_image($_data);
     }
 
     // }}}