wuchuanbin / php-calendar

Automatically exported from code.google.com/p/php-calendar
0 stars 0 forks source link

Undefined function name when editing recurring events #84

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Log in and create a recurring event
2. Click on one occurance
3. Click "Modify Event"

What is the expected output? What do you see instead?
PHP shows a fatal error and tells that the function add_year() on line 181 in 
includes/util.php is undefined.

What version of the product are you using? On what operating system?
php-calendar-2.0-beta10

Please provide any additional information below.
I found a function called add_years() in the same file, and the parameters seem 
compatible to the called function add_year() - maybe this was just a minor 
typo, a forgotten "s"? I changed the call to add_years() and now it SEEMS to 
work. Please check if this solution is correct.

Kind regards

- Oleg Britvin

Original issue reported on code.google.com by Oleg.Bri...@googlemail.com on 10 Jan 2012 at 1:15

GoogleCodeExporter commented 8 years ago
Good catch. This is fixed in r535 and will be in the next release.

Original comment by sproctor@gmail.com on 20 Jul 2012 at 3:15

GoogleCodeExporter commented 8 years ago
Issue 99 has been merged into this issue.

Original comment by sproctor@gmail.com on 30 Jul 2012 at 9:24