X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fvalidations%2Fphotos.inc.php;h=87d6c86f34e3506f7565b1aa30d4ad93e9dca107;hb=ba6ae0466e1dbc75852f4b8e8bfa8c815e81504a;hp=897a07785e7d4aa4bd69ad2835ee89cb032debea;hpb=12262f1306059765d8625a6752364679c8625d31;p=platal.git diff --git a/include/validations/photos.inc.php b/include/validations/photos.inc.php index 897a077..87d6c86 100644 --- a/include/validations/photos.inc.php +++ b/include/validations/photos.inc.php @@ -1,6 +1,6 @@ read($upload); @@ -52,7 +52,7 @@ class PhotoReq extends ProfileValidate // }}} // {{{ function read - private function read(PlUpload &$upload) + private function read(PlUpload $upload) { $this->valid = $upload->resizeImage(240, 300, 160, 0, SIZE_MAX); if (!$this->valid) {