Fixes non-referenced use of User, which would have led to a performance impact.
[platal.git] / include / validations / photos.inc.php
index 93b0ec9..f65b06c 100644 (file)
@@ -43,7 +43,7 @@ class PhotoReq extends Validate
     // }}}
     // {{{ constructor
 
-    public function __construct(User $_user, PlUpload &$upload, $_stamp=0)
+    public function __construct(User &$_user, PlUpload &$upload, $_stamp=0)
     {
         parent::__construct($_user, true, 'photo', $_stamp);
         $this->read($upload);