Closed (fixed)
Project:
NodeSymlinks
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
9 Feb 2009 at 12:21 UTC
Updated:
13 Jun 2009 at 14:30 UTC
Hello,
maybe I found a bug. When I click "save", menu symlink is not saved.
You are testing $node->symlinks in nodeapi hook for or insert and update, but form elements for symlinks are in $node->menu['symlinks'] array.
This modification helped me:
switch ($op) {
case 'insert':
case 'update':
if (isset($node->menu['symlinks'])) {
$count_deleted = $count_saved = 0;
$items = (array)$node->menu['symlinks']['items'];
Thank you for a good job.
Comments
Comment #1
wojtha commentedThanks for bug report, I've just fixed it in dev release.