From: Reini U. <ru...@x-...> - 2005-01-31 21:09:43
|
Charles Corrigan schrieb: > A patch to lib/WikiDB.php follows. This is part 2 of my previous set of fixes to the caching logic. > > While debugging why caching was not working for me, I found that get_versiondata() was behaving weirdly when the parameter > $need_content was false. It appears that php 4.3.10 on windows gets confused when an array element is created with an index of '0'. Please try to update your zend optimizer first. https://www.zend.com/store/products/zend-optimizer.php I had the same problem. > This patch changes the array index to use '2' and '1' instead of '1' and '0'. Note that this patch also contains the previous patch > in the series - I do not know enough about CVS and Eclipse to get just the incremental changes from my previous patch. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |