Index: trunk/phase3/includes/SpecialUpload.php |
— | — | @@ -435,7 +435,7 @@ |
436 | 436 | * If the image is protected, non-sysop users won't be able |
437 | 437 | * to modify it by uploading a new revision. |
438 | 438 | */ |
439 | | - if( !$nt->userCan( 'edit' ) ) { |
| 439 | + if( !$nt->userCan( 'edit' ) || !$nt->userCan( 'create' ) ) { |
440 | 440 | return self::PROTECTED_PAGE; |
441 | 441 | } |
442 | 442 | |