diff options
Diffstat (limited to 'includes/ExternalEdit.php')
-rw-r--r-- | includes/ExternalEdit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/ExternalEdit.php b/includes/ExternalEdit.php index 21f632ec..14b55fdb 100644 --- a/includes/ExternalEdit.php +++ b/includes/ExternalEdit.php @@ -48,7 +48,7 @@ class ExternalEdit { $extension="wiki"; } elseif($this->mMode=="file") { $type="Edit file"; - $image = Image::newFromTitle( $this->mTitle ); + $image = new Image( $this->mTitle ); $img_url = $image->getURL(); if(strpos($img_url,"://")) { $url = $img_url; |