Closed GoogleCodeExporter closed 8 years ago
I'm having the same problem, but the above isn't the right solution.
The parser finds a D:href block, and sets $enable to true. The if($enable)
{...} block assumes $value is a string (which it is) and looks for a version.
If it doesn't find one, it continues to loop, assuming each subsequent value is
a string.
However, if the first D:href block doesn't find a version, $enable should be
set to false until a subsequent D:href block is found.
In summary:
if (is_numeric($t[$index])) {
...
}
else {
$enable = false;
}
Original comment by lawsonjeremy@gmail.com
on 12 Jul 2010 at 5:41
Attachments:
Applied patch from lawsonjeremy
Original comment by alan.gohe
on 20 Mar 2011 at 6:52
Original issue reported on code.google.com by
bichselm...@gmail.com
on 9 Feb 2010 at 3:49