I was playing with the module, and I noticed that it when I brought up the outline designer, I would sometimes change users! I would refresh the page, and it would say I was admin, or whoever created the page I was editing. I poked through the code and found a few fixes for it.

outline_designer.module
line 540 is
}elseif($user->uid = $value['uid'] && user_access('edit own ' . $value['type'] . ' ' . $term)){
but should be
}elseif($user->uid == $value['uid'] && user_access('edit own ' . $value['type'] . ' ' . $term)){

Notice the double equals sign instead of the single one.

Exact same line of code with same error on line 187 of ajax.php

Updated files attached.

CommentFileSizeAuthor
outline_designer.module.txt26.03 KBbrettev
ajax.php_.txt11.11 KBbrettev

Comments

btopro’s picture

Status: Active » Closed (duplicate)

Just got this in yesterday, i've been having issues connecting to the internet with the computer that I commit everything from but as soon as I get that resolved I'll be patching that in. Thanks for the catch

btopro’s picture

Status: Closed (duplicate) » Fixed
btopro’s picture

Version: 5.x-1.3-2 » 5.x-1.3-3
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.