Project

General

Profile

Actions

Bug #3569

closed

error when changing the parent of a menu item

Added by Nathalie Blocry almost 12 years ago. Updated over 11 years ago.

Status:
Feature implemented
Priority:
Normal
Assignee:
Nathalie Blocry
Target version:
Start date:
08/06/2011
Due date:
% Done:

0%

Estimated time:
Complexity:
Normal

Description

the item is moved correctly but you get this error

Fatal error: Call to a member function free() on a non-object in /var/www/CHAMILO_BITBUCKET/STABLE/menu/php/lib/data_manager/mdb2.class.php on line 93

Actions #1

Updated by Nathalie Blocry almost 12 years ago

  • Status changed from New to Needs testing
  • Assignee set to Nathalie Blocry
Actions #2

Updated by Sven Vanpoucke almost 12 years ago

I fixed the wrong message + added correct results when using the update method by changing query to exec. I noticed that you wrapped the result around an if, but an update will also have a result but then as a boolean. This will still give the same errors. I just removed the free because it's not necessary anymore.

Actions #3

Updated by Stefaan Vanbillemont almost 12 years ago

  • Target version set to 2.1.0
Actions #4

Updated by Nathalie Blocry over 11 years ago

  • Status changed from Needs testing to Feature implemented
Actions

Also available in: Atom PDF