From a9135080c331929f962a885b2210a3edc85ca058 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Sun, 25 Jan 2015 02:27:02 +0100 Subject: [PATCH] barename wasn't used, let's rename it filename and use it --- lib/imagefile.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/imagefile.php b/lib/imagefile.php index 8a0f652327..0fe1c654b2 100644 --- a/lib/imagefile.php +++ b/lib/imagefile.php @@ -47,7 +47,7 @@ class ImageFile { var $id; var $filepath; - var $barename; + var $filename; var $type; var $height; var $width; @@ -58,6 +58,7 @@ class ImageFile { $this->id = $id; $this->filepath = $filepath; + $this->filename = basename($filepath); $info = @getimagesize($this->filepath); -- 2.39.5