diff --git a/File.class.php b/File.class.php index d82c6cc..37ffa2d 100644 --- a/File.class.php +++ b/File.class.php @@ -90,11 +90,10 @@ abstract class File /** * @return string - * TODO: Сделать настройку для изображения-заглушки применительно к Image */ public function getWebName() { - return $this->path . '/' . $this->filename; + return (($this->getIsNoEmpty()) ? ($this->path . '/' . $this->filename) : ''); } public function __toString()