Summary | image_id < 10 |
Queue | Ansel |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | chuck (at) horde (dot) org |
Requester | tinu (at) humbapa (dot) ch |
Created | 05/20/2007 (6640 days ago) |
Due | |
Updated | 06/14/2007 (6615 days ago) |
Assigned | 06/14/2007 (6615 days ago) |
Resolved | 06/14/2007 (6615 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
"In PHP 5.2.2 (and probably 4.4.x) the behaviour of substr has changed
for negative start index larger than the string length - now returning
false in stead of the string itself. [...]"
Assigned to Chuck Hagenbuch
Taken from Jan Schneider
State ⇒ Resolved
then? Or do you get the correct path? If so, I wonder why they were
seeing empty paths?
old photos didn't show up anymore because the vfs directories were 0
padded now.
Assigned to Jan Schneider
others, and didn't on my install..
State ⇒ Resolved
directory is always two characters long (so 9 maps to 09, etc.). Good
catch, thanks!
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ image_id < 10
Queue ⇒ Ansel
New Attachment: Ansel.php.patch
State ⇒ Unconfirmed
wrong path for images with an id smaller than 10 (image_id from table
ansel_images). eg. id 1 returns '.horde/ansel//...'
my small patch fixes this.
thanks!
martin luethi