From: Nicolas C. <nic...@gm...> - 2005-12-01 22:54:32
|
Hi Jim, On 12/1/05, Jim Hu <ji...@ta...> wrote: > > Help!!! > Now I'm really not sure what is happening, I thought I had put the > CVS back into its previous working state...but on my install, which I > just resynched to CVS, the calendar names are truncating all over the > place. I suspect that I'm not flushing my parsed cal files often > enough when I debug. Was I right about getCalendarname() the first > time? > > I now think I was right before, and it should return basename > ($cal_path,".ics") > > But I'm not uploading anything else until I'm sure that it works. > Could someone else please take a look and let me know what they think > is right. > > Yecchh. Sorry. > > Jim > > p.s. I'm still only getting the digests, so please cc me directly if > you know which way it should be. > According to cvsweb, about phpicalendar/phpicalendar/functions/calendar_functions.php (On line 196) : v 1.16 : return substr(basename($cal_path), 0, -4); v 1.17 : return basename($cal_path,".ics"); v 1.18 : return substr(basename($cal_path), 0, 4); I think it's just that when you turn back the code, you missed the minus sign. Hope it helps! Nicolas, -- I'm a poor and lonesome Yaourt... (Air connu) |