Closed (fixed)
Project:
Path Access
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
15 May 2006 at 13:34 UTC
Updated:
29 May 2006 at 13:45 UTC
1. install path_access module (don't change any settings in path_access module - a list of pages must be empty)
2. go to front page as an Anonymous user.
3. the first attempt may be successfull (if cache was empty). If so, go to front page again (refresh).
problem: nothing is displayed - page is empty.
Description of the fix:
function path_access_init()
if ($pages) - always work because $pages variable will never be empty (at least one '/n' will always be in the end).
$pages = trim($pages) was added before this IF operator. I have always changed this IF to if (!empty($pages))
| Comment | File | Size | Author |
|---|---|---|---|
| path_access.module | 4.89 KB | ardas |
Comments
Comment #1
ardas commentedI forgot to mention that all changes in uploaded file are commented by "// ARDAS...."
You can remove them when making a release. Please give me your comments about it.
Comment #2
(not verified) commented