Loading...
 
Skip to main content

the link 'remove from this structure' dont appears for any page in 'assing permissions to page'

Status
Closed
Subject
the link 'remove from this structure' dont appears for any page in 'assing permissions to page'
Version
1.9.x
Category
  • Error
  • Patch
Feature
Permission
Wiki (page view, edit, history, rename, etc)
Wiki Structure (book & table of content)
Resolution status
Fixed or Solved
Submitted by
fffialho
Volunteered to solve
fffialho
Lastmod by
fffialho
Rating
(0)
Description

A link to remove permissions from structure should be visible when editing permissions for a page that is in a structure.
In version 1.9.8.3, the version that I use, that link don't appears for any page.
I have detected the problem is a programming error in line 14 of file templates/tiki-pagepermissions.tpl. There is a test of variable $isStructure when the correct would be to test $inStructure that is the variable that is assigned in line 89 of file tiki-pagepermissions.php

Solution

The solution is simply change the test in line 14 of file templates/tiki-pagepermissions.tpl.
This works for me.

Importance
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
1458
Created
Tuesday 18 December, 2007 22:18:40 UTC
by Unknown
LastModif
Thursday 04 November, 2021 15:52:37 UTC


Show PHP error messages