[dev] ansel dont stores images in subgallery

Ben Chavet ben at chavet.net
Thu Mar 25 11:47:47 PST 2004


The more I look at this, the more it doesn't make sense. $this->load($view)
should set $this->_data[$view].  I'll keep looking at it.

--Ben

Quoting Ben Chavet <ben at chavet.net>:

> 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
>
>
> --
> 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