dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
be79581
)
Merge "(bug 40876) Icon for PSD (Adobe Photoshop) file types."
author
Hashar
<hashar@free.fr>
Fri, 19 Oct 2012 13:43:42 +0000
(13:43 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Fri, 19 Oct 2012 13:43:42 +0000
(13:43 +0000)
includes/EditPage.php
patch
|
blob
|
history
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
137a621
..
17335e4
100644
(file)
--- a/
includes/EditPage.php
+++ b/
includes/EditPage.php
@@
-471,7
+471,7
@@
class EditPage {
$content = $this->getContentObject();
# Use the normal message if there's nothing to display
- if ( $this->firsttime && (
$content === false
|| $content->isEmpty() ) ) {
+ if ( $this->firsttime && (
!$content
|| $content->isEmpty() ) ) {
$action = $this->mTitle->exists() ? 'edit' :
( $this->mTitle->isTalkPage() ? 'createtalk' : 'createpage' );
throw new PermissionsError( $action, $permErrors );