[dev] ansel dont stores images in subgallery
Ben Chavet
ben at chavet.net
Thu Mar 25 11:33:21 PST 2004
Committed, thanks
--Ben
Quoting duck <duck at obala.net>:
> today I started to test Ansel (cvs snap from 25.3.) and found that on
> our Win server don't stores images in subgalleries, but on my home Linux
> does. Strange, but later I find that on Win produce a warning that the
> index "full" is not set in lib/Gallery.php:796. So I added a check if
> requested index exists.
>
> --- from to ---
> return $this->_image->toFile($this->_dirty) ? false : $this->_data[$view]);
> ---- to ----
> return $this->_image->toFile($this->_dirty ||
> !isset($this->_data[$view]) ? false : $this->_data[$view]);
>
> and it works
>
> Duck
> --
> Horde developers mailing list - Join the hunt: http://horde.org/bounties/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
More information about the dev
mailing list