Loading...
 
Skip to main content

Removal of calendar that has been categorized does not uncategorize it.

Status
Closed
Subject
Removal of calendar that has been categorized does not uncategorize it.
Version
1.9.x
Category
  • Error
Feature
Calendar
Resolution status
Fixed or Solved
Submitted by
Nelson Ko
Volunteered to solve
Nelson Ko
Lastmod by
Nelson Ko
Rating
(0)
Description

Problem as described in summary.




Solution

Suggested solution:

add the following lines to calendarlib.php just before calendar is deleted in drop_calendar function

// uncategorize calendar
global $categlib; require_once('lib/categories/categlib.php');
$categlib->uncategorize_object('calendar', $calendarId);
// now remove the calendar itself:
...

1.9.x CVS Head Revision 1.50 line 120

Importance
7
Priority
35
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
914
Created
Wednesday 18 October, 2006 16:17:15 UTC
by Unknown
LastModif
Wednesday 16 May, 2007 15:39:31 UTC


Show PHP error messages