Add _.gif return from getWebName if image not exists.

This commit is contained in:
Alexander Demidov
2013-10-21 18:24:26 +04:00
parent 5ffdaa44b1
commit 0caf3280b9

View File

@ -101,7 +101,7 @@ abstract class File
*/ */
public function getWebName() public function getWebName()
{ {
return (($this->getIsNoEmpty()) ? ($this->path . '/' . $this->filename) : ''); return (($this->getIsNoEmpty()) ? ($this->path . '/' . $this->filename) : '_.gif');
} }
public function __toString() public function __toString()