3456 Posts in 754 Topics by 467 members
Jump to:If this is your first visit, you will need to register before you can post. However, you can browse all messages below.
| Page: 1 | go to end | Reply | |
| Author | Topic: temp fix for if Odd bug | 201 views |

13 May 2008 at 1:21pm
i noticed there was a 3-month old, low priority ticket for the if Odd failing. i came up with what is probably a dirty hack, but basically i changed:
line 647 in VariableData.php from
to
it seems to work, and so far hasn't caused any weird spikes in performance. hope this helps those of you in need of a quick fix, until someone who knows PHP can fix it properly.

13 May 2008 at 2:35pm
That fix looks good; can you post it to open.silverstripe.com so that we can integrate it with the core? :-)

13 May 2008 at 3:27pm
i just uploaded to open.silverstripe.com - i added the file to the original trouble ticket. not sure if that's the right way to do it.
| 201 views | |||
| go to top | Reply |