From 0caf3280b9d97047a61e39953c0d572db9b03927 Mon Sep 17 00:00:00 2001 From: Alexander Demidov Date: Mon, 21 Oct 2013 18:24:26 +0400 Subject: [PATCH] Add _.gif return from getWebName if image not exists. --- File.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/File.class.php b/File.class.php index 2644a24..31d2d0e 100644 --- a/File.class.php +++ b/File.class.php @@ -101,7 +101,7 @@ abstract class File */ public function getWebName() { - return (($this->getIsNoEmpty()) ? ($this->path . '/' . $this->filename) : ''); + return (($this->getIsNoEmpty()) ? ($this->path . '/' . $this->filename) : '_.gif'); } public function __toString()